Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Internal Error HTTP 500 Admin Customer page


ecclesr

Recommended Posts

I have just managed to get my website running under localhost on vista business laptop (partially loaded database)

 

Testing Admin

 

Initial testing most admin screens are working as expected.

 

Problem I have is when I access the customer page (http://localhost/admin/customers.php?selected_box=customers)

 

 

I get Internal Error HTTP 500 page. How can I remedy this?

 

Thanking you in advance

Link to comment
Share on other sites

Check and see that you don't have any .htaccess files or something there, they can cause all sorts of problems if incorrect.

 

I'm not sure how running it on Vista (or any windows platform) affects things however, as i only run Mac/Linux.

 

Rob

Rob Bell - Inspired Graphix

Customising osCommerce in Australia, and the world!

View my profile for web and email links.

 

I'm sorry, but i cannot offer Free support via PM etc, and osCommerce forums prohibit me from putting any reference to paid support in my signauture.

However viewing my profile may provide links to my website or something like that which you may find useful.

Link to comment
Share on other sites

Just wondering what did you use to install php and mySQL . Sorry that it is offtopic but I have been trying to run a testing server using vista home premium.

 

Thanks

Link to comment
Share on other sites

Just wondering what did you use to install php and mySQL . Sorry that it is offtopic but I have been trying to run a testing server using vista home premium.

 

Thanks

You can use wamp.

Link to comment
Share on other sites

Just wondering what did you use to install php and mySQL . Sorry that it is offtopic but I have been trying to run a testing server using vista home premium.

 

Thanks

 

I just installed all the component separately ie apache, php, mysql, oscommerce - apache and php are the easy part - php to see mysql working on my laptop (vista business) but not on my desktop (vista ultimate)

Link to comment
Share on other sites

1. Finding all other admin pages working ok except customers and specials by specialsbycategory.php and customers.php

 

2. In admin/customers where I am getting HTTP 500 error is executing line

 

$contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_CUSTOMERS, tep_get_all_get_params(array('cID', 'action')) . 'cID=' . $cInfo->customers_id . '&action=edit') . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . tep_href_link(FILENAME_CUSTOMERS, tep_get_all_get_params(array('cID', 'action')) . 'cID=' . $cInfo->customers_id . '&action=confirm') . '">' . tep_image_button('button_delete.gif', IMAGE_DELETE) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS, 'cID=' . $cInfo->customers_id) . '">' . tep_image_button('button_orders.gif', IMAGE_ORDERS) . '</a> <a href="' . tep_href_link(FILENAME_MAIL, 'selected_box=tools&customer=' . $cInfo->customers_email_address) . '">' . tep_image_button('button_email.gif', IMAGE_EMAIL) . '</a> <a href="' . tep_href_link('password_forgotten.php','cID=' . $cInfo->customers_id) . '">' . tep_image_button('button_send_new_password.gif', 'Send New Password') .'</a>');

 

3. I have not .htaccess file

 

4. Database is only partially loaded (I truncated the developrmrnt data) so currenly no customers - I will try reloading a fully populated database to see if any difference

 

5. checking my log of changes, the last change relating to adim was (Via Admin Tools/File Manager/Define Languages/index.php) where I made the following changes

 

Change from

 

define('HEADING_TITLE', 'XXX);

 

to

 

define('HEADING_TITLE', 'XXX

<p>XXX</p>');

 

 

All Help on this is apprecciated

Link to comment
Share on other sites

Issue was found to be in customer.php

 

Not having .htaccess made not difference

 

Is .htaccess required and why

 

If I have to create a .htaccess file how do I create one

 

Thanking everyone in advance

Link to comment
Share on other sites

Issue was found to be in customer.php

 

Not having .htaccess made not difference

 

Is .htaccess required and why

 

If I have to create a .htaccess file how do I create one

 

Thanking everyone in advance

 

It is a text file called .htaccess

 

I don't know, but I think if a contribution says to add something to the file, then yes. Mine, under wamp, has this

# For this to work, you must include the parameter 'Options' to

# the AllowOverride configuration

#

# Example:

#

# <Directory "/usr/local/apache/htdocs">

# AllowOverride Options

# </Directory>

#

# 'All' with also work. (This configuration is in the

# apache/conf/httpd.conf file)

 

# The following makes adjustments to the SSL protocol for Internet

# Explorer browsers

 

#<IfModule mod_setenvif.c>

# <IfDefine SSL>

# SetEnvIf User-Agent ".*MSIE.*" \

# nokeepalive ssl-unclean-shutdown \

# downgrade-1.0 force-response-1.0

# </IfDefine>

#</IfModule>

 

# If Search Engine Friendly URLs do not work, try enabling the

# following Apache configuration parameter

 

# AcceptPathInfo On

 

# Fix certain PHP values

# (commented out by default to prevent errors occuring on certain

# servers)

 

# php_value session.use_trans_sid 0

# php_value register_globals 1

 

# IP Trapped

SetEnvIfNoCase Request_URI IP_Trapped\.txt ban

<Files ~ "^.*$">

order allow,deny

allow from all

deny from env=ban

</Files>

 

Options +FollowSymLinks

RewriteEngine On

# if store is in the root, uncomment the line below

#RewriteBase /

# and delete the line below, otherwise, change below to the directory that your store is in

RewriteBase /catalog/

 

RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}

RewriteRule ^(.*)-m-([0-9]+).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-pi-([0-9]+).html$ popup_image.php?pID=$2&%{QUERY_STRING}

RewriteRule ^(.*)-t-([0-9]+).html$ articles.php?tPath=$2&%{QUERY_STRING}

RewriteRule ^(.*)-a-([0-9]+).html$ article_info.php?articles_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-pr-([0-9]+).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-pri-([0-9]+).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-i-([0-9]+).html$ information.php?info_id=$2&%{QUERY_STRING}

 

with Ultimate SEO URLS v21d_UPDATED by FWR installed.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...