computerking Posted May 29, 2007 Share Posted May 29, 2007 I am using FreeBSD new.computerking.ca 6.2-STABLE FreeBSD 6.2-STABLE #0: Sun Mar 18 16:54:21 MST 2007 and installed oscommerces from the ports system First i got the error below during install so i added a .htaccess containing "php_flag register_globals on" to the /usr/local/www/data/oscommerce/catalog/install FATAL ERROR: register_globals is disabled in php.ini, please enable it! Now i get this when i try to go to the administrator link Fatal error: Cannot re-assign $this in /usr/local/www/data/oscommerce/catalog/admin/includes/classes/upload.php on line 31 so i added .htacess to the root osc directory /usr/local/www/data/oscommerce/catalog and /usr/local/www/data/oscommerce/ hoping to fix the new problem as easily as the install one but no luck i still get the error above. here is the lines in my apache host file please help <VirtualHost *:80> ServerName osc.computerking.ca DocumentRoot /usr/local/www/data/oscommerce ErrorLog /var/log/apache22/oscommerece.computerking.ca-error_log CustomLog /var/log/apache22/oscommerce.computerking.ca-access_log common <Directory /usr/local/www/data/oscommerce> Options Indexes FollowSymLinks AllowOverride Options Order allow,deny Allow from all </Directory> </VirtualHost> Link to comment Share on other sites More sharing options...
♥Vger Posted May 30, 2007 Share Posted May 30, 2007 That error is caused by using an out of date version of osCommerce 2.2 MS2. You need to update your file set with the one available from downloads at www.oscommerce.com Vger Link to comment Share on other sites More sharing options...
computerking Posted May 30, 2007 Author Share Posted May 30, 2007 That error is caused by using an out of date version of osCommerce 2.2 MS2. You need to update your file set with the one available from downloads at www.oscommerce.com Vger This is not the correct version? oscommerce-2.2r2 i used the ports system to install it Link to comment Share on other sites More sharing options...
computerking Posted May 30, 2007 Author Share Posted May 30, 2007 I have updated to the lastest version from the website now i always get permission denied errors in my browser!! I have change the owner and group to www:www for all files as they were set to 501 leaving the default permissions intact looks something like this -rw-r--r-- 1 www www 1006 Mar 27 2006 .htaccess -rw-r--r-- 1 www www 11418 Mar 27 2006 account.php -rw-r--r-- 1 www www 12039 Mar 27 2006 account_edit.php -rw-r--r-- 1 www www 7530 Mar 27 2006 account_history.php -rw-r--r-- 1 www www 11563 Mar 27 2006 account_history_info.php -rw-r--r-- 1 www www 7188 Mar 27 2006 account_newsletters.php -rw-r--r-- 1 www www 11310 Mar 27 2006 account_notifications.php -rw-r--r-- 1 www www 8224 Mar 27 2006 account_password.php -rw-r--r-- 1 www www 9044 Mar 27 2006 address_book.php -rw-r--r-- 1 www www 18251 Mar 27 2006 address_book_process.php drwxr-xr-x 4 www www 1024 Aug 17 2006 admin -rw-r--r-- 1 www www 10344 Mar 27 2006 advanced_search.php -rw-r--r-- 1 www www 14595 Mar 27 2006 advanced_search_result.php -rw-r--r-- 1 www www 16065 Mar 27 2006 checkout_confirmation.php -rw-r--r-- 1 www www 17363 Mar 27 2006 checkout_payment.php -rw-r--r-- 1 www www 22061 Mar 27 2006 checkout_payment_address.php -rw-r--r-- 1 www www 16325 Mar 27 2006 checkout_process.php -rw-r--r-- 1 www www 20323 Mar 27 2006 checkout_shipping.php -rw-r--r-- 1 www www 22096 Mar 27 2006 checkout_shipping_address.php -rw-r--r-- 1 www www 6883 Mar 27 2006 checkout_success.php -rw-r--r-- 1 www www 3436 Mar 27 2006 conditions.php -rw-r--r-- 1 www www 6413 Mar 27 2006 contact_us.php -rw-r--r-- 1 www www 3779 Mar 27 2006 cookie_usage.php -rw-r--r-- 1 www www 22534 Mar 27 2006 create_account.php -rw-r--r-- 1 www www 3919 Mar 27 2006 create_account_success.php drwxr-xr-x 2 www www 512 Aug 17 2006 download -rw-r--r-- 1 www www 4229 Mar 27 2006 download.php drwxr-xr-x 13 www www 3072 Aug 17 2006 images drwxr-xr-x 8 www www 512 Aug 17 2006 includes -rw-r--r-- 1 www www 18956 Mar 27 2006 index.php -rw-r--r-- 1 www www 1443 Mar 27 2006 info_shopping_cart.php drwxr-xr-x 5 www www 512 Aug 17 2006 install -rw-r--r-- 1 www www 10492 Mar 27 2006 login.php -rw-r--r-- 1 www www 3837 Mar 27 2006 logoff.php -rw-r--r-- 1 www www 6313 Mar 27 2006 password_forgotten.php -rw-r--r-- 1 www www 1494 Mar 27 2006 popup_image.php -rw-r--r-- 1 www www 1384 Mar 27 2006 popup_search_help.php -rw-r--r-- 1 www www 3560 Mar 27 2006 privacy.php -rw-r--r-- 1 www www 12873 Mar 27 2006 product_info.php -rw-r--r-- 1 www www 11229 Mar 27 2006 product_reviews.php -rw-r--r-- 1 www www 9613 Mar 27 2006 product_reviews_info.php -rw-r--r-- 1 www www 11228 Mar 27 2006 product_reviews_write.php -rw-r--r-- 1 www www 6939 Mar 27 2006 products_new.php drwxr-xr-x 2 www www 512 Aug 17 2006 pub -rw-r--r-- 1 www www 3074 Mar 27 2006 redirect.php -rw-r--r-- 1 www www 7494 Mar 27 2006 reviews.php -rw-r--r-- 1 www www 3563 Mar 27 2006 shipping.php -rw-r--r-- 1 www www 11532 Aug 16 2006 shopping_cart.php -rw-r--r-- 1 www www 5711 Mar 27 2006 specials.php -rw-r--r-- 1 www www 3259 Mar 27 2006 ssl_check.php -rw-r--r-- 1 www www 5859 Mar 27 2006 stylesheet.css -rw-r--r-- 1 www www 10202 Aug 17 2006 tell_a_friend.php That error is caused by using an out of date version of osCommerce 2.2 MS2. You need to update your file set with the one available from downloads at www.oscommerce.com 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.