Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table 'ecom.websites' doesn't exist (SQL: select * from websites) #21

Closed
Sagarbhagdev opened this issue Jan 18, 2017 · 9 comments
Closed

Comments

@Sagarbhagdev
Copy link

Sagarbhagdev commented Jan 18, 2017

when i write install in url i got this error
where my database name is ecom

QueryException in Connection.php line 770:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'ecom.websites' doesn't exist (SQL: select * from websites)

@Sagarbhagdev
Copy link
Author

if (!Schema::hasTable('migrations')) {
return redirect()->route('mage2.install');
}

remove it from comments and get solved

@Sagarbhagdev
Copy link
Author

http://localhost:8000/install/database/table

now when i run this page i got error maximum execution time of 60 seconds exceeded

@indpurvesh
Copy link
Member

Hello @Sagarbhagdev this the exact thing i am currently working on.

  1. Website table not exist i hope this bug should be fixed.
  2. Once i finished i dont think i need migration table.
  3. 60 sec (too long) bug: i do know it for that i am thinking to split the php process but not exactly sure how i am going to implement it. (once again thanks for the raising issue.).

@Sagarbhagdev
Copy link
Author

Sagarbhagdev commented Jan 19, 2017 via email

@Sagarbhagdev
Copy link
Author

please solve that why its redirect again to install page
and for solving max execution error you need to include

ini_set('max_execution_time', 300);

at top of this file
C:\xampp\htdocs\laravel-ecommerce\modules\base\Mage2\Install\route\web.php after solving this i got the problem of redirection so check it and try to fix it

@indpurvesh
Copy link
Member

Because you un comment out this line of code.

if (!Schema::hasTable('migrations')) {
return redirect()->route('mage2.install');
}

so leave the comment on it. it should be ok.

thanks
Purvesh

@Sagarbhagdev
Copy link
Author

ok thanks man

indpurvesh added a commit that referenced this issue Jan 21, 2017
splitting the installtion process via individual modules so it wont time out
@indpurvesh
Copy link
Member

@Sagarbhagdev I have split the installation of migration into individual modules so i hope it wont do timeout now. I am closing this issue for now. Let me know if you still received this error?

@Sagarbhagdev
Copy link
Author

okay, No Problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants