GregMaClean Posted July 14, 2009 Share Posted July 14, 2009 I'm a beginner with the PrestaShop, and I have had difficulty installing it. On step 3, after entering the database name, username and password, and I click next, the white loading bar shows up and fades away. Nothing happens after this. I have tried to repeat the process on a different computer, and the still nothing happens. I am using the WAMP server, (it is like the Mac MAMP, but for Windows). I am using it as a testing server, so I do not have an hosting server yet. My server name is localhost (WAMP uses the Apache server).Can someone please advise me on what to do.Thank You,Greg Link to comment Share on other sites More sharing options...
Patric Posted July 15, 2009 Share Posted July 15, 2009 Is this a recent version of WAMP ? Make sure it runs MySQL 5.If yes, watch in the Firebug console which error message you get when clicking the *Next* button. Link to comment Share on other sites More sharing options...
GregMaClean Posted July 18, 2009 Author Share Posted July 18, 2009 Thanks for the advice, but it still doesn't work. However I've tried another server, the XAMPP server. This one works just fine with the PrestaShop. Everything looks great!Thank you once again,Greg Link to comment Share on other sites More sharing options...
Proconsult Informatique Posted July 20, 2009 Share Posted July 20, 2009 I had the same problem on my local computer !!Problem just appeared with the latest release wamp2.0i.I have the same installation environment that worked well with wamp2.0h with no problem.download wamp2.0h and try it instead of wamp2.0i.I've created a bug track report... Link to comment Share on other sites More sharing options...
Patric Posted July 20, 2009 Share Posted July 20, 2009 This is a known bug that occurs because WAMP latest version uses the 5.3.0 version of PHP. PrestaShop meets some problems with this PHP version (where some functions are deprecated) and we're working on it. Link to comment Share on other sites More sharing options...
Nicholai Posted July 22, 2009 Share Posted July 22, 2009 I am having the same problem with my hosting company 2ip. When can we expect a fix for this issue? Thanks!-Nick Link to comment Share on other sites More sharing options...
Proconsult Informatique Posted July 23, 2009 Share Posted July 23, 2009 it seems the Dev Team has published a new fix on the SVN concerning this issue, but I could not test it yet... Link to comment Share on other sites More sharing options...
Patric Posted July 23, 2009 Share Posted July 23, 2009 Yes, the compatibility problem with PHP 5.3 has been fixed. So you should be able to install PrestaShop with the WAMP's last version. Link to comment Share on other sites More sharing options...
Nicholai Posted July 23, 2009 Share Posted July 23, 2009 So do we need to re download and upload the PrestaShop files? When I look at the download page it says the last update was 19-december-2008?? This appears to be the bug report for it:http://www.prestashop.com/bug_tracker/view/2418/But I don't see anyway to download a "fix"? Link to comment Share on other sites More sharing options...
Patric Posted July 23, 2009 Share Posted July 23, 2009 The problem will be fixed in the 1.2 version. If really needed, you can try to apply the fixes from the SVN version. Link to comment Share on other sites More sharing options...
Nicholai Posted July 23, 2009 Share Posted July 23, 2009 OK I installed a svn client and downloaded all the new files. I replaced my install folder with what I got from the svn and tried installing again. Now when I get to step 3 I still get basically the same error, I click verify now or next and I get the progress bar thingy on the top right and then nothing. Before it would actually propagate the database but it wouldn't continue to the next step, now its not even filling the database. Thanks for all the help so fare! Link to comment Share on other sites More sharing options...
Patric Posted July 23, 2009 Share Posted July 23, 2009 Please make sure that your server is running MySQL 5 and that it is utf-8 compatible.Have a look at what the Firebug console displays while validating this 3rd step. Link to comment Share on other sites More sharing options...
Nicholai Posted July 23, 2009 Share Posted July 23, 2009 PHP version 5.2.9MySQL version 5.0.81-communityThis is what firebug reports during a verify: Fatal error: Call to undefined method MySQL::tryutf8() in /home/nickmuzz/public_html/rubberstampsrs.com/install/classes/ToolsInstall.php on line 32 Great tool by the way! Link to comment Share on other sites More sharing options...
Patric Posted July 23, 2009 Share Posted July 23, 2009 Please verify that the file :/classes/MySQL.phpexists and that it contains the lines : static public function tryUTF8($server, $user, $pwd) { $link = @mysql_connect($server, $user, $pwd); if (!mysql_query('SET NAMES \'utf8\'', $link)) $ret = false; else $ret = true; @mysql_close($link); return $ret; } at line 156. Link to comment Share on other sites More sharing options...
Nicholai Posted July 23, 2009 Share Posted July 23, 2009 I have the file but mine is only 146 lines long: /** * MySQL class, MySQL.php * MySQLs management * @category classes * * @author PrestaShop * @copyright PrestaShop * @license http://www.opensource.org/licenses/osl-3.0.php Open-source licence 3.0 * @version 1.1 * */ I have the 1.1 final version installed. Link to comment Share on other sites More sharing options...
Patric Posted July 23, 2009 Share Posted July 23, 2009 So it seems you made a mix between the 1.1 version and SVN version...I now understand that when you said "OK I installed a svn client and downloaded all the new files." you where only talking about the files concerned by the fix... I fear this is not as simple as that to apply a patch...If your problem really comes from the fact that your host runs PHP 5.3 (please verify), so you won't have any other solution than waiting for the 1.2 version. I find it very strange (stupide ?) that a host already runs under this recent PHP version... Link to comment Share on other sites More sharing options...
Nicholai Posted July 23, 2009 Share Posted July 23, 2009 Thanks again for all the help. Here are my versions:PHP version 5.2.9MySQL version 5.0.81-communitySo I am still running 5.2.9. Is there any kind of documentation to correctly apply the svn patch? Do I need to replace all the files? I just assumed I could just copy over the install folder to get past the install process hanging up on step 3. Link to comment Share on other sites More sharing options...
Patric Posted July 23, 2009 Share Posted July 23, 2009 So this is not the same problem than the one above... You don't have to apply any patch.Please, try to reinstall from scratch a 1.1 version on this server and if still stuck at step 3, watch the error in the firebug console (should be different than the previous that was caused by the v1.1/SVN mix). Link to comment Share on other sites More sharing options...
Nicholai Posted July 23, 2009 Share Posted July 23, 2009 Sorry if I caused confusion. I just seem to be having a very similar problem. ANyway I installed from scratch again and watched my firebug console and got this error:This is the query string (password is starred out) http://rubberstampsrs.com/install/model.php?_=1248343758008&method=createDB&tablePrefix;=&mode=full&type=MySQL&server=localhost&login=nickmuzz_rbrstmp&password;=***********&name=nickmuzz_rubberstampsrs Response Body: <html><head> <title>500 Internal Server Error</title> </head><body> Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at rubberstampsrs.com Port 80 </body></html> I found this interesting, and checked my server logs and found this(ip address starred out):[Thu Jul 23 06:09:37 2009] [error] [client *********] File does not exist: /home/nickmuzz/public_html/rubberstampsrs.com/500.shtml, referer: http://rubberstampsrs.com/install/Which isn't very helpfull to me??? Any ideas? Link to comment Share on other sites More sharing options...
Nicholai Posted July 23, 2009 Share Posted July 23, 2009 You know I think I have an idea of whats going on. My password has special characters inside of it and could be the cause of these errors if it's doing that request string. I'm going to try removing the special characters. I'll let you know. Link to comment Share on other sites More sharing options...
Nicholai Posted July 23, 2009 Share Posted July 23, 2009 Success!!! Moral of the story, don't use special characters in your mysql password! Thanks again for all your help! Link to comment Share on other sites More sharing options...
Patric Posted July 23, 2009 Share Posted July 23, 2009 Success!!! Moral of the story, don't use special characters in your mysql password! Thanks again for all your help! Interesting. Thanks for the feedback. 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