hhelsky Posted October 20, 2005 Share Posted October 20, 2005 Hi! I did a fresh install to a shared Fedora server and first i noticed that the register globals value was set to Off. I applied the latest Register Globals patch and got it running for a while. After this, i tried to run the install script, but it didn't continue after the 2 step. So i manually edited the configure.php files and loaded the sql file to the DB. At first sight all looked OK, but when you click at a category to browse the catalog, it doesn't return any product data, just the main-text for the index page. If i click at a product image to display the product data it returns "Product not found!". You can check it out at: http://www.puutarhurinverstas.com/catalog Oh and this error message was on the bottom "Error! Unable to determine the page link!", i think it has something to do with languages, for it wasn't loaded properly. Any ideas what could be the problem here? Thanks a bunch! :) Link to comment Share on other sites More sharing options...
♥Vger Posted October 20, 2005 Share Posted October 20, 2005 Turn off 'Use Search Engine Friendly URL's' in your osCommerce admin panel. Vger Link to comment Share on other sites More sharing options...
hhelsky Posted October 20, 2005 Author Share Posted October 20, 2005 Turn off 'Use Search Engine Friendly URL's' in your osCommerce admin panel. Vger I can't get to the admin section at all due to this strange install procedure. Where the values are located in the DB? Maybe i can edit it straight to the DB. The admin section returns these errors: Warning: main(includes/languages/english/) [function.main]: failed to open stream: No such file or directory in /var/www/customers/puutarhurinverstascom/public_html/admin/includes/application_top.php on line 134 Warning: main() [function.include]: Failed opening 'includes/languages/english/' for inclusion (include_path='.:/usr/share/pear') in /var/www/customers/puutarhurinverstascom/public_html/admin/includes/application_top.php on line 134 Fatal error: Cannot re-assign $this in /var/www/customers/puutarhurinverstascom/public_html/admin/includes/classes/upload.php on line 31 Seems very strange to me. I've done two installs with register globals off and they worked fine with the patch. Strange... Link to comment Share on other sites More sharing options...
♥Vger Posted October 20, 2005 Share Posted October 20, 2005 The '$this' error can be resolved by looking for the link below my name, but the fact that you get this error means that the server is using php5 and osCommerce and php5 don't go well together. The other errors can be resolved by downloading and editing both configure.php files with the correct values for your domain. Vger Link to comment Share on other sites More sharing options...
ipimen Posted October 25, 2005 Share Posted October 25, 2005 I have this same problem - Register Globals set to off on php.ini - Patch installed (checked and rechecked) - With Use Search Engine Friendly URL's set to false i can't browse the site, i just get the main page with the welcome text, no matter what i choose on my categories menu. If i set them to "true" then i get the error at the end of the page "Error! Unable to determine the page link!" BTW, i can't browse the admin either, i make the changes directly to the DB. How can i fix this? Link to comment Share on other sites More sharing options...
♥Vger Posted October 25, 2005 Share Posted October 25, 2005 Make sure that the permissions on all of your folders are set to 755 or 777. Files need to be 644, except for both configure.php files which need to be either 644, 444 or 400 (depending on server setup). Vger Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.