Notifications
Clear all

include(data/config.php): failed to open stream: No such file or directory

4 Posts
1 Users
0 Reactions
2,689 Views
(@holls)
Posts: 13
Eminent Member
Topic starter
 

Hello!
Sorry to bother you again! At last, I managed to install eFiction5 on my localhost (so I think that my previous installation failures were Altervista's fault) and everything went well. I downloaded files for efiction vaporware and put them on my localhost site, but when trying to open index.php I get the following error:

include(data/config.php): failed to open stream: No such file or directory
[C:/wamp64/www/efiction5/app/inc/config.php:10] Base->{closure}()
[C:/wamp64/www/efiction5/app/inc/config.php:10] Config::__construct()
[C:/wamp64/www/efiction5/index.php:91] Config->__construct()

In my data folder, there is a config.ini file, but no config.php file. Am I missing something?

Thanks,
Simona


 
Posted : 10/03/2017 4:48 pm
(@holls)
Posts: 13
Eminent Member
Topic starter
 

I ran the installer first and successfully did the upgrade. Then I removed the installer files from the localhost site folder and added the vaporware ones. I tried to open index.php and got the error.

Thanks for your help!


 
Posted : 11/03/2017 4:49 am
(@holls)
Posts: 13
Eminent Member
Topic starter
 

Thank you, I found the data folder and now I can open the homepage  πŸ˜€

... But I have another problem  :upsidedown:: the site is in maintenance mode, so I can't do the login. I set "maintenance" to FALSE in the config table and delete all the sessions (speaking of it, making the login twice creates a duplicate key on session table and an error), but I still can't login.

Any idea?

Thanks!


 
Posted : 11/03/2017 1:48 pm
(@holls)
Posts: 13
Eminent Member
Topic starter
 

Hello,
after many tries, I still can't login. When trying to insert my (correct) username and password, I get:

PDOStatement: Duplicate entry 'b54b0812477a54d2244ab0747e89a753' for key 'PRIMARY'

[C:/wamp64/www/efiction5/app/model/base.php:19] DBSQL->exec()
[C:/wamp64/www/efiction5/app/model/auth.php:108] ModelBase->exec()
[C:/wamp64/www/efiction5/app/model/auth.php:176] ModelAuth->createSession()
[C:/wamp64/www/efiction5/app/controller/auth.php:45] ModelAuth->validateSession()
[C:/wamp64/www/efiction5/app/routes.php:4] ControllerAuth::isLoggedIn()
[C:/wamp64/www/efiction5/index.php:108] require()

I tried to clean the sessions table, with no luck.

I also got some "Ajax error" here and there. For example, when I click on a story, I get the error and on my Chrome console I have:

POST  http://localhost/efiction5/captcha  500 (Internal Server Error)

Maybe it is because I'm using a local website?

Thanks,
Simona


 
Posted : 15/03/2017 6:04 pm
Share: