Skip to content
This repository has been archived by the owner on Apr 8, 2020. It is now read-only.

How to install? #1

Open
dink opened this issue Jun 10, 2015 · 7 comments
Open

How to install? #1

dink opened this issue Jun 10, 2015 · 7 comments

Comments

@dink
Copy link

dink commented Jun 10, 2015

I was wondering how to make this run.

I followed all the instructions but I still can't make this app run -- Surely I'm missing something.

When fired up from the public directory on http://127.0.0.1:3000 I'm getting the following:

http://127.0.0.1:3000/installinstallinstallinstallinstallinstallinstallinstallinstallinstallinstallinstallinstallinstallinstallinstallinstallinstallinstallinstall

What else is is supposed to be in the config/main.php file besides 'siteName'?

Thank you.

@AliasIO
Copy link
Owner

AliasIO commented Jun 13, 2015

Not sure what's happening there, perhaps the port number is throwing it off. Can you try running it on port 80?

@dink
Copy link
Author

dink commented Jun 13, 2015

Ok, the port isn't apparently the problem. Running it on any port now and I'm greeted with this:

Exception: 9e8bd

The issue has been logged. Please contact the website administrator.

I'll try to run it on a virtual linux box later on to see if windows is crapping on me.

@AliasIO
Copy link
Owner

AliasIO commented Jun 14, 2015

Find the actual error in log/exceptions.log. If it's not there, make the log folder writeable.

@dink
Copy link
Author

dink commented Jun 14, 2015

Ok, here's a typical line from my log file:

13ba0 Sat, 13 Jun 2015 14:39:06 +0000 SQLSTATE[HY000]: General error: 1 no such table: albums in D:\projects\shotio\vendor\Shot\Controllers\Index.php on line 35

Any ideas?

@AliasIO
Copy link
Owner

AliasIO commented Jun 14, 2015

Yeah the install script isn't running. You need to rewrite all URLs to index.php?q=<query> in your virtual host configuration. Are you using Apache or Nginx?

For now, you can also try going to index.php?q=install directly.

@dink
Copy link
Author

dink commented Jun 14, 2015

I was just using the build-in php web server, but normally I use nginx and would appreciate the rewrite rules if you have them.

Ok, now it says the installation is complete after attaching index.php?q=install, but the index page remains same as before with the same log error message.

@AliasIO
Copy link
Owner

AliasIO commented Jun 14, 2015

Does db/db.sdb exist? You may need to make the db folder writable. You can also try to populate the database on the CLI using db/schema.sql.

I haven't touched this project in a while, you can tell it's not quite finished.

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

No branches or pull requests

2 participants