Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ERRORS on admin only after server migration


lindsayanng

Recommended Posts

Posted

I just migrated to a new dedicated server. The guy who set up the server for me was great and said that he copied all of the settings from my other server to make sure that everything is pretty consistent and I shouldn't have to worry abotu making code upgrades.. I did email him with this error, but I wanted to post here too..

 

So this error happens when I go to create a category, it lets me do that. Then I go to create a new product in that category and this is where it gets weird. When i save the new product, I get reverted back to the login screen. Then when i go back to to category, both the category and the products in it are GONE!!! And if I click on an existing product to edit, where the "AJAX ATTRIBUTES MANAGER" box is to add the attribute templates has the admin login screen INSIDE of it.. REALLY weird.

Here is a picture:

Screenshot2009-10-16at63456PM.png

Also, every time you hit the BACK button, i am logged out.

 

these are the errors I get save my product and get logged out and then when I log back in:

 

Warning: reset() [function.reset]: Passed variable is not an array or object in /home/bscphoto/public_html/shop/admin/includes/classes/object_info.php on line 18

 

Warning: Variable passed to each() is not an array or object in /home/bscphoto/public_html/shop/admin/includes/classes/object_info.php on line 19

A great place for newbies to start

Road Map to oscommerce File Structure

DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways!

 

HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you

 

Proud Memeber of the CODE BREAKERS CLUB!!

Posted

OK.. well, my server guy emailed me and he said he changed the php from suPHO to cgiPHP and that fixed the problem

 

So now the question arose - how do I make OSCOMMERCE work with suPHP?? Any ideas, thoughts suggestions?

A great place for newbies to start

Road Map to oscommerce File Structure

DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways!

 

HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you

 

Proud Memeber of the CODE BREAKERS CLUB!!

Posted

tried this and it did not work... I already had these changes in my files

My link

A great place for newbies to start

Road Map to oscommerce File Structure

DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways!

 

HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you

 

Proud Memeber of the CODE BREAKERS CLUB!!

Posted

well, that fix did a whole lot of nothing. Its DEFINITELY the suPHP. So why is this happening?? I have no idea. I really could use some help

A great place for newbies to start

Road Map to oscommerce File Structure

DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways!

 

HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you

 

Proud Memeber of the CODE BREAKERS CLUB!!

Posted

Your symptoms are typical of a loss of sid issue, or sessions problem, can be caused by admin contribs that fail to use tep_href_link.

 

Check your configure settings, esp cookies.

 

If you edit a product, but get logged out when u click on update, it is common that the product gets wiped!!

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Posted

Yea.. I know I am loosing the oscID but the thing is, there were no edits to the files at all. The only difference is i migrated from a shared hosting plan to my own dedicated server.

 

its also a fact that as soon as I switch from suPHP to cgiPHP the problem goes away.. ALL of the problems - the logging out AND the DB warning.

 

From what I can understand, because suPHP is more secure, the error it is giving is a permissions error of some sort.. But i have no idea how to possibly make it work with suPHP.

A great place for newbies to start

Road Map to oscommerce File Structure

DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways!

 

HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you

 

Proud Memeber of the CODE BREAKERS CLUB!!

Archived

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

×
×
  • Create New...