close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

cart not working but works on local server

Thread began 12/07/2009 10:18 am by watercolor346374 | Last modified 12/09/2009 2:08 pm by Jason Byrnes | 1573 views | 11 replies |

watercolor346374

cart not working but works on local server

Hi,
This is a big problem. I am testing the cart on
dendritic.php
When I test it I get to the detail page for a product, click add to cart and then I get this page:
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@meganisaacs.isaacsgroup.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8l DAV/2 mod_auth_passthrough/2.1 FrontPage/5.0.2.2635 Server at meganisaacs.com Port 80
I have gotten this before and I had to do all of my detail pages over.
I have included files: cart, WAcart, and a detail page
here is the message in my error log:
[Mon Dec 07 08:06:53 2009] [error] [client 88.254.149.15] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: skyyomer.php

Attached Files
megan_web assist.zip
Sign in to reply to this post

Jason ByrnesWebAssist

The error log you posted I dont think is for tyhe problem you are encountering with eCart, it must be from another script, it is reporting the referer as skyyomer.php.


The Internal server error is a very generic error, We will need more infomation to be able to get an idea of the cause. You can try adding the following code to line of the cart.php page to turn error reporting on:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>




if your host allows, this will raise the error reporting level and hopefully return a more helpful error,.

Sign in to reply to this post

watercolor346374

I put the code in near the top, does it matter where it goes? I go the same message on the page. Here is the log error:
10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: img.php

Sign in to reply to this post

Jason ByrnesWebAssist

it needs to be at line 1.



the error log you are sending:
Here is the log error:
10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: img.php


is not associated to this issue, it is from a different referer "referer: img.php "

Sign in to reply to this post

watercolor346374

I put it at the top and get the same message: you can check it at:
detail_alexandria.php?prodid=201
When you click add to bag you get the error instead of the cart.
Thank you

Sign in to reply to this post

Jason ByrnesWebAssist

You will need to contact the host to have error reporting turned on. it appears they do not allow error reporting levels to be changed through the ini_set command. without a more informative error, it is impossible to tell what the cause is.

Sign in to reply to this post

watercolor346374

cart messages

Hi Jason,
I contacted bluehost and they updated my file permissions and that was the problem. Now I am getting messages after clicking adding to cart and then I go to the cart and this message appears:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/isaacsgr/public_html/meganisaacs/test2/cart.php:6) in /home/isaacsgr/public_html/meganisaacs/test2/WA_eCart/WA_eCart_Definition_PHP.php on line 479.
I looked at the line and not sure how to change it. then if I press the checkout button the next error appears:
Warning: Cannot modify header information - headers already sent by (output started at /home/isaacsgr/public_html/meganisaacs/test2/cart.php:6) in /home/isaacsgr/public_html/meganisaacs/test2/cart.php on line 67
I checked my connections folder and the file looks ok. I looked at line 67 on cart.php and that is the header line. It looked ok to me.
Thank you

Attached Files
megan_webassis.zip
Sign in to reply to this post

Jason ByrnesWebAssist

according to the error, the problem is occuring on line 6 of the cart.php page:
output started at /home/isaacsgr/public_html/meganisaacs/test2/cart.php:6


The headers already sent error means there is output to the page beforer the header function is called, that output is at line 6.
line 1 - 6 0f your cart.php page are:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?> 

<?php




The error is caused by the blank space at the end of line 4 and the blank line at line 5.



change the code at lines 1 - 6 to:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>
<?php
Sign in to reply to this post

watercolor346374

cart still not working

Hi Jason,
I changed it as you said, and now I am back to the same error page:
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@meganisaacs.isaacsgroup.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8l DAV/2 mod_auth_passthrough/2.1 FrontPage/5.0.2.2635 Server at www.meganisaacs.com Port 80
When I remove all error statements from the top of the page I get the same error message.
So I am back where I started. When I called bluehost and he fixed the file permissions it worked. Do not know what is going on.
Thank you

Sign in to reply to this post

Jason ByrnesWebAssist

The permissions must have reverted back to what they where originally before blue host changed them.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...