Nofire Posted September 16, 2016 Share Posted September 16, 2016 I was changing the server for some days ago and now it dosent work.I get this error in the errorlog.[16-Sep-2016 14:15:39 UTC] PHP Parse error: syntax error, unexpected '_DB_PASSWD_' (T_STRING) in /home/nofire01/public_html/config/settings.inc.php on line 5In that line this is how it looks:define('_DB_PASSWD_', 'xxxxxxxxx'); Whats wrong? Link to comment Share on other sites More sharing options...
Apium Posted September 16, 2016 Share Posted September 16, 2016 Are you sure both values, '_DB_PASSWD_', and your actual password are strings? They should be uninterrupted and any special chars should be escaped, e.g. "hello world", not "hello"world", which should be encoded as "hello\"world". Link to comment Share on other sites More sharing options...
tdr170 Posted September 16, 2016 Share Posted September 16, 2016 Yes the password is entered wrong, add a new user and a simple password like 123456 to test. Make sure you change the user and passwd in the settings.inc.ini file to the new user name and password. Funny I never received this message just link to database can not be established. Link to comment Share on other sites More sharing options...
Nofire Posted September 19, 2016 Author Share Posted September 19, 2016 I did all again. I uploaded the backup and now the database is working... BUT Som product images dont work. Some do some dont. The logo is missing.. You can look at it here: www.nofire.se. Whats wrong? Link to comment Share on other sites More sharing options...
Deoorbel Posted September 19, 2016 Share Posted September 19, 2016 It looks like the images need a recompile Preferences>Images>Regenerate thumnails After that flush the cache Advanced parameter>performance>Clear cache Link to comment Share on other sites More sharing options...
Nofire Posted September 19, 2016 Author Share Posted September 19, 2016 I have been testing that but nothing.When i was setting the friendly url to off it was working but i cant have that turned of... Link to comment Share on other sites More sharing options...
Deoorbel Posted September 21, 2016 Share Posted September 21, 2016 It looks like a htaccess problem. Regenerate the htacces. file See link: http://www.templatemonster.com/help/prestashop-1-6-x-how-to-regenerate-htaccess-file.html#gref Link to comment Share on other sites More sharing options...
Apium Posted September 21, 2016 Share Posted September 21, 2016 I just tried to visit your site, and I got, Fatal error: Class 'Core_Business_ContainerBuilder' not found in /home/nofire01/public_html/config/bootstrap.php on line 27 How did you go about uploading your data to the new server? Link to comment Share on other sites More sharing options...
Nofire Posted September 21, 2016 Author Share Posted September 21, 2016 I have done that with no luck It looks like a htaccess problem. Regenerate the htacces. file See link: http://www.templatemonster.com/help/prestashop-1-6-x-how-to-regenerate-htaccess-file.html#gref Link to comment Share on other sites More sharing options...
Nofire Posted September 21, 2016 Author Share Posted September 21, 2016 I was using FTP and phpmyadmin to download and upload to the new server. That error is gone now but the problem with the images (some of them) is still there. I just tried to visit your site, and I got, Fatal error: Class 'Core_Business_ContainerBuilder' not found in /home/nofire01/public_html/config/bootstrap.php on line 27 How did you go about uploading your data to the new server? Link to comment Share on other sites More sharing options...
tdr170 Posted September 21, 2016 Share Posted September 21, 2016 Is this fixed as I see nothing wrong all images seem to be showing. Link to comment Share on other sites More sharing options...
Nofire Posted September 21, 2016 Author Share Posted September 21, 2016 I cant see the images. i Have cleared the cache on my computer. Its the product images that are wrong. Link to comment Share on other sites More sharing options...
Apium Posted September 21, 2016 Share Posted September 21, 2016 (edited) Something is wrong with your base url. I can access every image on nofire.se/xxxxxx/name.jpg, but rarely on www.nofire.se/xxxxxx/name.jpg There's something wrong here, could you look into making this consistent? What is your base URL set to right now? (Can be found under configuration information). Edited September 21, 2016 by Apium (see edit history) Link to comment Share on other sites More sharing options...
Nofire Posted September 21, 2016 Author Share Posted September 21, 2016 The url is www.nofire.se Link to comment Share on other sites More sharing options...
tdr170 Posted September 21, 2016 Share Posted September 21, 2016 On www.nofire.se all images show for me I have gone through the menu and have not found any images not showing. Have you cleared your Browsers cache and cache from BO. Turn force compile on and cache off then clear the cache. Link to comment Share on other sites More sharing options...
Nofire Posted September 23, 2016 Author Share Posted September 23, 2016 Yes i have. But i solved it. I uploaded the picture to the product again so now everything is fine. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now