chrometweaks.org

How do I change my DNS server, if my domain is registered with iPage?

Click Here To View All Answers...


Question I have... How do I change my DNS server, if my domain is registered with iPage? Many thanks for any answer or 2. Second question.. I am having problems adding/changing products on a shopping cart. So, I installed a clean copy of oscommerce on the same server, different folder, and with a new database. I got the register_globals error.

(Register globals are turned off on the server.) I was then able to install the shopping cart. After installation, before doing anything else I went to the catalog and tried to add a new product. When I click on the "preview" button I get Internal Server Error..

When I add information to the date available text box and move away from the text box, I get a an error saying "Problems with this webpage may prevent it from being displayed properly." Under the details it has the following:.

Line: 218.

Char: 3.

Error: 'undefinded' is null or not an object.

Code: 0.

URL:.

Http://www.domainname.com/store/admin/cate...ion=new_product.

I looked at this particular line in the categories.php file and it is the following:.

'products_date_available' => $products_date_available,.

I have tried everything I know of to solve this problem, and I just can't seem to reach a solution. I can't determine whether the problems are coming from the register globals fix, the settings for sessions/cookies, or maybe the permissions on the files/folders. Any help at all will be much appreciated!.

This post has been edited by.

Kristymichelle.

: 12 October 2004, 20:48..

Comments (4)

I'm stumped. I'm not so sure what is the right answer to your question. I'll do some research in Google and get back to you if I discover an useful answer. You should email the people at iPage as they probably could assist you..

Comment #1

$products_date_available = (date('Y-m-d') < $products_date_available) ? $products_date_available : 'null';.

$sql_data_array = array('products_quantity' => tep_db_prepare_input($HTTP_POST_VARS['products_quantity']),.

'products_model' => tep_db_prepare_input($HTTP_POST_VARS['products_model']),.

'products_price' => tep_db_prepare_input($HTTP_POST_VARS['products_price']),.

'products_date_available' => $products_date_available,.

'products_weight' => tep_db_prepare_input($HTTP_POST_VARS['products_weight']),.

'products_status' => tep_db_prepare_input($HTTP_POST_VARS['products_status']),.

'products_tax_class_id' => tep_db_prepare_input($HTTP_POST_VARS['products_tax_class_id']),.

'manufacturers_id' => tep_db_prepare_input($HTTP_POST_VARS['manufacturers_id']));.

If (isset($HTTP_POST_VARS['products_image']) && tep_not_null($HTTP_POST_VARS['products_image']) && ($HTTP_POST_VARS['products_image'] != 'none')) {.

This post has been edited by.

Kristymichelle.

: 13 October 2004, 14:15..

Comment #2

The server's error log says this:.

[Thu Oct 14 13:45:07 2004] [error] [client xx.xx.xxx.xx] File does not exist: /home/domainname/public_html/500.shtml.

[Thu Oct 14 13:45:07 2004] [error] [client xx.xx.xxx.xx] Premature end of script headers: /home/domainname/public_html/catalog2/admin/categories.php.

Note: I Xed out the ip address..

This post has been edited by.

Kristymichelle.

: 14 October 2004, 17:51..

Comment #3

'manufacturers_id']));.

Seems to have an extra parentheses as I didnt find the beginning one..

Comment #4

Thanks,.

I tried deleting the extra parentheses and I got a parse error. I have another copy of oscommerce installed and it works just fine. It is a different iPage domain name but same host. I used the beyond compare software to compare the two categories.php files and there are no differences. I am beginning to think it is something to do with the register globals. The one shopping cart that works fine...the register globals are on.

Should I ask the host to turn them on? Isn't that a huge security risk? I really need to get this fixed. The client is fussing..lol.

This post has been edited by.

Kristymichelle.

: 14 October 2004, 19:07..

Comment #5


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