Zeddeh Posted September 5, 2008 Posted September 5, 2008 I decided that i would try to migrate to oscommerce since other software doesn't meet my shop requirements, but i am having difficulties installing the software on my webserver. first question: why does the manual mention things like "Autmatic configuration - leave this box checked", "Persistent connections", "Session storage: files / database" and many others? these steps are no where to be seen during the installation process. I can however install osCommerce, but when i then take a look at my shop there is a top banner telling me there is an error with the php sessions save path, how do i fix this? Also when i figured i could fix this by going into the administrative page, i get a white screen with text telling me: 1046 - No database selected select configuration_key as cfgKey, configuration_value as cfgValue from configuration [TEP STOP] Is there a working and up to date installation manual? I really want to get this shop up and running asap Thanks in advance; Teddy
♥Vger Posted September 5, 2008 Posted September 5, 2008 Session Save Path and Safe Mode------------------------------- The error is a by-product of using PHP in Safe Mode. To get around the problem go to your osCommerce Admin Panel --> Configuration --> Sessions and set Session Save Path to just tmp with no forward slash before or after tmp. You get this error even if you have elected to store sessions in the database. If the error prevents you from accessing your admin panel then access the database via phpMyAdmin, go to the 'configuration' table, find the Session Save Directory entry (there are several pages of entries for this table), open it for editing and change /tmp to just tmp with no slash before (or after) it. I assume this is what you mean when you refer to "there is a top banner telling me there is an error with the php sessions save path"? 1046 - No database selected This means that the admin/includes/configure.php file did not have any data written to it by the installation - probably because you did not set permissions on that file to allow it to be written to. Use the includes/configure.php file settings as a guide - but remember that they are different files. Vger
Zeddeh Posted September 5, 2008 Author Posted September 5, 2008 I assume this is what you mean when you refer to "there is a top banner telling me there is an error with the php sessions save path"? This means that the admin/includes/configure.php file did not have any data written to it by the installation - probably because you did not set permissions on that file to allow it to be written to. Use the includes/configure.php file settings as a guide - but remember that they are different files. Vger Thank you, this clears up a few things, yet i fail to understand why the installation instructions tell me to set the chmods after the installation instead of before? So the steps i have to take is 1. upload 2. set permissions / chmod 3. install 4. edit database right? i'll give it a try, thanks :rolleyes:
Zeddeh Posted September 5, 2008 Author Posted September 5, 2008 For some reason i can't get the changes made in install process to actually be saved into configure files, even though i chmod them both to 777 -_- is there a small tutorial for doing the installation manually, would be alot more easy.
Zeddeh Posted September 5, 2008 Author Posted September 5, 2008 it almost works when configuring the files manually, but can't see the css for example. and the database error doesn't go away no mather what i try?
♥Vger Posted September 5, 2008 Posted September 5, 2008 Make sure that you don't have any "developer" versions of the configure.php files in both of the includes/local/ folders. If you find any inside the 'local' folders then either rename or delete them. Are you trying to install on a Windows server by any chance? Vger
Zeddeh Posted September 7, 2008 Author Posted September 7, 2008 Make sure that you don't have any "developer" versions of the configure.php files in both of the includes/local/ folders. If you find any inside the 'local' folders then either rename or delete them. Are you trying to install on a Windows server by any chance? Vger im installing on a webhost, could part of the reason be that i do not have every php extension listed installed on my webserver? no i do not have any configure files in includes/local, and no i do not have any "developer" versions
Recommended Posts
Archived
This topic is now archived and is closed to further replies.