Jump to content

harinezumi

Members
  • Posts

    5
  • Joined

  • Last visited

harinezumi's Achievements

Newbie

Newbie (2/6)

1

Reputation

1

Community Answers

  1. ok, I was setting up the wrong config.php: the one in the "wire" directory instead of the one under the "site" directory. Shame on me. Thank you for your help
  2. Both? do you mean local and remote? local has the the $config->dbUser, dbPass and dbHost all empty '' But WAIT, now locally I get the error: Parse error: syntax error, unexpected '$homepage' (T_VARIABLE) in /share/MD0_DATA/Web/en/site/templates/_init.php on line 37 what's going on? :-( I swear I dind't change a file locally (I added a user in the db)
  3. I thought it should be on the config.php, because it always tryies to connect as root - so why shall the problem be on the database side? I checked config.php: it has only one $config->dbUser - nothing happened.
  4. Hello, when moving the site from a local to a remote server, I can't log in with the user+password set up in my config.php: Why the hell is it trying to log in as 'root'@'localhost' when my config.php says: /** * Database username * */ $config->dbUser = 'myusername'; /** * Database password * */ $config->dbPass = 'mypassword'; /** * Database host * */ $config->dbHost = 'mydbname'; Should'nt it send a request as 'myusername'? Why 'root'? I tested many advice found in the forum without any luck: export+import tables only, setting the local server with same username, db name and password, deleting cache… The site is in a subdir (pw) so I also edited the .htaccess as in http://processwire.com/docs/tutorials/troubleshooting-guide/page3 (I did it on the .htaccess in the subdir, not the main dir). Thank you
×
×
  • Create New...