Jump to content

Step 3 Installation Problems


Recommended Posts

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

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

PHP version 5.2.9
MySQL version 5.0.81-community

This 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

Please verify that the file :
/classes/MySQL.php
exists 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

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

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

Thanks again for all the help. Here are my versions:

PHP version 5.2.9
MySQL version 5.0.81-community

So 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

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

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...