Troubleshooting for a warning:[Web App from scratch series]
# April 26, 2013 at 11:05 am
I am trying to follow [the Creating a Web App from Scratch series](http://css-tricks.com/examples/WebAppFromScratch/ “the creating a Web App from scratch series”) ,I have no prior experience with PHP,I’v downloaded the source file and uploaded to a host just to see if it works for myself([Your text to link here…](http://listitbright.nazuka.net/site/ “site”))
but the screen shows me this error:
Warning: require_once(inc/FirePHPCore/FirePHP.class.php): failed to open stream: No such file or directory in /home/u265831516/public_html/site/common/base.php on line 13 Fatal error: require_once(): Failed opening required ‘inc/FirePHPCore/FirePHP.class.php’ (include_path=’.:/usr/lib/php’) in /home/u265831516/public_html/site/common/base.php on line 13
Could anyone guide me through the right way?Did I upload the content in the wrong directory? Thanks in advance.# April 26, 2013 at 8:37 pm
You sure @traq? The script causing the error is `/home/u265831516/public_html/site/common/base.php`, so it’s looking for `/home/u265831516/public_html/site/common/inc/FirePHPCore/FirePHP.class.php` unless I’m mistaken. Try:
require_once(../inc/FirePHPCore/FirePHP.class.php)# April 27, 2013 at 3:49 am
@traq The file FirePHP.class.php hasn’t been provided in the source code download file and isn’t present in /home/u265831516/public_html /site/inc/FirePHPCore/ Am I supposed to create one?# April 27, 2013 at 6:04 am
I guess you could get a copy from https://github.com/firephp/firephp-core/tree/master/lib/FirePHPCore
Seeing including the constants doesn’t give a warning I guess my earlier statement was wrong.# April 27, 2013 at 6:58 am
@traq ,@CrocoDillion The link worked like magic!
But There’s a new warning:
Connection failed: SQLSTATE  Access denied for user ‘db_user’@’localhost’ (using password: YES)
I’m Guessing this is because no permission is granted to the database?
The series aimed at creating a db in XAMPP,so I am not sure the same steps are supposed to be followed on a web host?# April 28, 2013 at 8:03 am
[MySQL Databases](http://i41.tinypic.com/34fidjd.jpg “MySQL Databases”)
Tried to import the database and tables :
[Error while importing from database created in XAMPP](http://tinypic.com/view.php?pic=30lj8eb&s=5 “Error while importing from database created in XAMPP”)
I’v tried :
GRANT ALL PRIVILEGES ON *.* TO ‘myuser’@’%’ WITH GRANT OPTION;
Still it keeps giving me the Connection failed error.
You must be logged in to reply to this topic.