x10hosting Laravel Support

Status
Not open for further replies.

aljohndeguzman85

New Member
Messages
1
Reaction score
0
Points
1
Hi, I'm currently using Laravel Framework on my website and when I uploaded it on the x10hosting server, the error comes out. I noticed that some of the code was accepted but other code such as DB queries e.g. DB::table('users') or Blade Templates was not accepted. I know that Laravel requires PHP 5.3 up and x10hosting is qualified for that.

Please help me.
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
A. Print the error message you get. Note what line of the script it says it occurs in.
B. Post that section of the script. Indicate the line in question.
 

ajdeguzm

New Member
Messages
1
Reaction score
0
Points
1
Hi descalzo, sorry for late reply. I just figured out in laravel how to check the error by going to logs in the app folder. Then I found out these error:

http://pastebin.com/y42S61r9


Cool Laravel. No need to print the error message you get. It just logged it to a text file. Thanks!
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Code:
[1045] Access denied for user 'root'@'localhost' (using password: YES)' in

Your script is using "root" as a user, which is incorrect. It should be of the form: yourCPanelUserName_something, which your installation script should have either

1) created automatically
or
2) asked you for, assuming that you had already created the database and database user.
 

leafypiggy

Manager of Pens and Office Supplies
Staff member
Messages
3,819
Reaction score
163
Points
63
You need to edit ~/www/application/config/db.php and change the configuration settings.
 
Status
Not open for further replies.
Top