chrometweaks.org

What is the best site for free iPage web hosting?

Click Here To View All Answers...


Question I have... What is the best site for free iPage web hosting? Hoping for any answer or 2. 2nd question I got is.. I get a 500 Internal server error after clicking "confirm order", it goes to checkout_process.php url but with the error. Everything else is with the store is working fine, except this problem. Even with this error, the customer gets the confirmation email, and the order is in the admin, just the confirmation page doesn't show up..

So, customers go back and checkout again, thinking their first order didn't go through. They get the same error. Then they check their email, and see that they have two confirmation emails from both orders, so then they call us. Very frustrating..

The store was working fine. I was using my host's secure server (.

Https://id279.secure...fleetwoodsounds.

).

Then I had them install the certificate for our own secure server (.

Https://www.fleetwoodsounds.com.

).

I think this is when the problem started..

I was still using the old hosts secure url and had the problem, then I switched to my secure url, but still have the same problem..

Any ideas? Thanks very much for any help...

Comments (24)

I would like to know the answer too. Anyone here know what is the right answer. I'll do some research in Google and get back to you if I bump into an good answer. You should email the people at iPage as they probably could answer your iPage question..

Comment #1

Your certificate appears to be working fine, ele I could not get to your.

Https://www.

..

One thing (a minor one) I would change, is the cookie setting, to have it match your usage of the www, thus instead of domain.com for cookie use www.domain.com..

Comment #2

Thanks for the suggestion..

I tried.

Define('HTTP_COOKIE_DOMAIN', 'www.fleetwoodsounds.com');.

Define('HTTPS_COOKIE_DOMAIN', 'www.fleetwoodsounds.com');.

And.

Define('HTTP_COOKIE_DOMAIN', 'http://www.fleetwoodsounds.com');.

Define('HTTPS_COOKIE_DOMAIN', 'https://www.fleetwoodsounds.com');.

And neither had any effect on the problem. Any suggestions?.

Thanks...

Comment #3

I finally found the trouble. As a test, I tried installing a new store on the same server in a new directory. I backed up my current database from my old live store, moved it to the new test store installation directory and renamed it oscommerce.sql. So, the new installation would be using my old database. Again, everything in my new store worked fine, except I get the server error on checkout. I then re-installed my new test store using the stock oscommerce.sql as the database.



So, I decided my database had a problem with it..

I then re-installed my original live store using the stock oscommerce.sql database. I then had to re-configure my store and add all my products again from scratch, and my old orders and customers are no longer in the new database. Oh, well. Had to be done..

So, my store is working perfectly again. The only problem is that I don't know what exactly was wrong with the database, and therefore, I can't prevent it from happening again..

The only problem I have is whenever I install the database, I always get:.

When importing database,.

Warning: set_time_limit(): Cannot set time limit in safe mode in /home/www/fleetwoodsounds/fs/install/includes/functions/general.php on line 47.

The database import was successful!.

I hope that's not a bad thing..

This post has been edited by.

Steve-doherty.

: 06 September 2004, 16:37..

Comment #4

Also, When I try to backup my database, I get:.

Warning: set_time_limit(): Cannot set time limit in safe mode in /home/www/fleetwoodsounds/catalog/xxxeditxxx/includes/functions/general.php on line 733.

Warning: Cannot modify header information - headers already sent by (output started at /home/www/fleetwoodsounds/catalog/xxxeditxxx/includes/functions/general.php:733) in /home/www/fleetwoodsounds/catalog/xxxeditxxx/includes/functions/general.php on line 18.

But, then I click back button on my browser, and I see that the database has in fact been backed up..

This post has been edited by.

Steve-doherty.

: 06 September 2004, 16:42..

Comment #5

This is a key right here:.

Warning: set_time_limit(): Cannot set time limit in safe mode.

You need to have your host change your iPage site php.ini from safe mode to turn off safe mode..

Comment #6

When I asked them to turn register_globals on, they gave me my own php.ini and said I could do whatever I wanted. So, the entire contents of my php.ini in my cgi-bin is:.

Register_globals = on.

Include_path = ".:/usr/local/php/share/pear".

1. Should there be more in there?.

2. What do I put in there to turn off safe mode?.

Thanks much for your help...

Comment #7

You won't be able to turn off safe-mode. and it's unlikely that your host will because it's server-wide..

There are lots of scripts that don't work as smoothly with safe-mode enabled. I keep it off for my clients.

You can also modify register_globals in htaccess.

Php_flag register_globals on..

Comment #8

Ughhh... my problem came right back. It is currently an intermittent problem. Sometimes it is a successfull checkout and the user lands on catalog/checkout_success.php.

But sometimes, after clicking the confirm order button, the user gets a 500 internal server error and the user lands on.

Catalog/checkout_process.php?osCsid=36e22336b80f8e860023d68c185a27b0.

Anybody have any idea why this is happening and what I can do to fix it? I'm getting desperate..

Thanks very much...

Comment #9

Anybody at all have any suggestion on how to correct this problem? Sometimes the customer gets the error and sometimes not. Every time I try, the order goes through fine...

Comment #10

I am the same thing happening with my install. When the user goes through the checkout process they get a 500 error when they move from the Checkout process page to the Checkout Success. I found that if I turned off the "Send Email" attribute in the admin the problem goes away. As soon as I enable "Send Email" I get the 500 error again..

Strange thing is that sending mail from other parts of the iPage site such as "forgot my password", etc. works fine..

If anyone has any suggestions as to what to look at I would be very greatful.

Claus..

Comment #11

I asked the question again in "Installation and Configuration" and got my answer. I think you can find your solution at.

Http://forums.oscommerce.com/index.php?act=ST&f;=1&t;=112507.

I had multiple addresses in the "send order confirmation to" and I changed it to only one. Not sure, but I may also may have been missing an end bracket ">" after one of those email address to send order confirmations in the admin. After changing it to just one simple email address, with no brackets, just an email address, that fixed the problem. It was probably missing the end bracket..

Good luck!..

Comment #12

I get a 500 Internal server error after clicking "confirm order", it goes to checkout_process.php url but with the error. Everything else is with the store is working fine, except this problem. Even with this error, the customer gets the confirmation email, and the order is in the admin, just the confirmation page doesn't show up..

So, customers go back and checkout again, thinking their first order didn't go through. They get the same error. Then they check their email, and see that they have two confirmation emails from both orders, so then they call us. Very frustrating..

The store was working fine. I was using my host's secure server (.

Https://id279.secure...fleetwoodsounds.

).

Then I had them install the certificate for our own secure server (.

Https://www.fleetwoodsounds.com.

).

I think this is when the problem started..

I was still using the old hosts secure url and had the problem, then I switched to my secure url, but still have the same problem..

Any ideas? Thanks very much for any help...

Comment #13

I replaced all files in the catalog folder and all files and folders in the includes folder with the original files/folders that came with the osc installation package (except configure.php), thinking that maybe one of my modifications was causing the trouble. Again, everything works fine, except the error on checkout. So, I don't think it was any of the hacks that I made to any of the files..

Not sure what to do or where to look next..

If it helps, here is the configure.php:.

Define('HTTP_SERVER', 'http://www.fleetwoodsounds.com'); // eg,.

Http://localhost.

- should not be empty for productive servers.

Define('HTTPS_SERVER', 'https://www.fleetwoodsounds.com'); // eg,.

Https://localhost.

- should not be empty for productive servers.

Define('ENABLE_SSL', 'true'); // secure webserver for checkout procedure?.

Define('HTTP_COOKIE_DOMAIN', '.fleetwoodsounds.com');.

Define('HTTPS_COOKIE_DOMAIN', 'fleetwoodsounds.com');.

Define('HTTP_COOKIE_PATH', '/catalog/');.

Define('HTTPS_COOKIE_PATH', '/catalog/');.

Define('DIR_WS_HTTP_CATALOG', '/catalog/');.

Define('DIR_WS_HTTPS_CATALOG', '/catalog/');.

Define('DIR_WS_IMAGES', 'images/');.

Define('DIR_WS_ICONS', DIR_WS_IMAGES'icons/');.

Define('DIR_WS_INCLUDES', 'includes/');.

Define('DIR_WS_BOXES', DIR_WS_INCLUDES'boxes/');.

Define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES'functions/');.

Define('DIR_WS_CLASSES', DIR_WS_INCLUDES'classes/');.

Define('DIR_WS_MODULES', DIR_WS_INCLUDES'modules/');.

Define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES'languages/');.

Define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');.

Define('DIR_FS_CATALOG', '/www/fleetwoodsounds/catalog/');.

Define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG'download/');.

Define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG'pub/');.

// define our database connection.

Define('DB_SERVER', 'mysql.fleetwoodsounds.com'); // eg, localhost - should not be empty for productive servers.

Define('DB_SERVER_USERNAME', 'xxx');.

Define('DB_SERVER_PASSWORD', 'xxx');.

Define('DB_DATABASE', 'xxx');.

Define('USE_PCONNECT', 'false'); // use persistent connections?.

Define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'.

(note: obviously, replaced actual database names/pw with "xxx" ).

This post has been edited by.

Steve-doherty.

: 04 September 2004, 17:30..

Comment #14


This question was taken from a support group/message board and re-posted here so others can learn from it.