Jump to content

Installing Prestashop on MAMP


Recommended Posts

I am novice to php and Presta Shop.
I have successfully installed Prestashop locally using MAMP. Everything is fine until I try to login to the backstore. Presta Shop requires me to delete install folder and rename admin folder.
I have renamed my admin folder to admin1122
When I try to access



I get a blank page. This is get logged at php_error.log


[19-Jan-2011 04:03:52] PHP Warning: require_once(/Users/parasjain/Sites/sitename/admin/init.php) [function.require-once]: failed to open stream: No such file or directory in /Users/parasjain/Sites/sitename/admin/header.inc.php on line 20
[19-Jan-2011 04:03:52] PHP Fatal error: require_once() [function.require]: Failed opening required '/Users/parasjain/Sites/sitename/admin/init.php' (include_path='.:/Applications/MAMP/bin/php5.3/lib/php') in /Users/parasjain/Sites/sitename/admin/header.inc.php on line 20
Link to comment
Share on other sites

I tried the latest version. I am stuck at the time of Database Configuration

Error while inserting data in the database:
'CREATE TABLE `ps_access` ( `id_profile` int(10) unsigned NOT NULL, `id_tab` int(10) unsigned NOT NULL, `view` int(11) NOT NULL, `add` int(11) NOT NULL, `edit` int(11) NOT NULL, `delete` int(11) NOT NULL, PRIMARY KEY (`id_profile`,`id_tab`) ) ENGINE= DEFAULT CHARSET=utf8'
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \'DEFAULT CHARSET=utf8\' at line 9(Error: : 1064)

Link to comment
Share on other sites

I tried the latest version. I am stuck at the time of Database Configuration

Error while inserting data in the database:
'CREATE TABLE `ps_access` ( `id_profile` int(10) unsigned NOT NULL, `id_tab` int(10) unsigned NOT NULL, `view` int(11) NOT NULL, `add` int(11) NOT NULL, `edit` int(11) NOT NULL, `delete` int(11) NOT NULL, PRIMARY KEY (`id_profile`,`id_tab`) ) ENGINE= DEFAULT CHARSET=utf8'
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \'DEFAULT CHARSET=utf8\' at line 9(Error: : 1064)


I believe that you will find the solution in this thread.
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...