Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin Console Error After Upload To Webhost


mmaler

Recommended Posts

Posted

I have OSC working properly on my local development box. When I uploaded everything to my webhost the catalog works fine but in the admin tool I am receiving the following error messages:

 

Warning: session_start() [function.session-start]: open(temp\sess_143ca57cec81e54f165a117e22afba58, O_RDWR) failed: No such file or directory (2) in SERVERROOT\www\main\admin\includes\functions\sessions.php on line 68

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at SERVERROOT\www\main\admin\includes\functions\sessions.php:68) in SERVERROOT\www\main\admin\includes\functions\sessions.php on line 68

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at SERVERROOT\www\main\admin\includes\functions\sessions.php:68) in SERVERROOT\www\main\admin\includes\functions\sessions.php on line 68

 

 

Any ideas what is causing this? I replaced the path to my root with SERVERROOT above for security purposes... :-)

Posted

It is looking for a folder called 'temp' in the root of your web - and not finding it. If you have created that folder did you give it full permissions (777)?

 

You can avoid this by setting the last line of both configure.php files to read 'mysq' where indicated - thus storing sessions in the database and not in files in a 'temp' folder.

 

Vger

Posted
It is looking for a folder called 'temp' in the root of your web - and not finding it. If you have created that folder did you give it full permissions (777)?

 

You can avoid this by setting the last line of both configure.php files to read 'mysq' where indicated - thus storing sessions in the database and not in files in a 'temp' folder.

 

Vger

 

 

That was it! Thank you for the fast response and your time!!!

Posted

JUST FOUND ANOTHER ERROR

 

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in ROOT\www\main\admin\customers.php on line 733

 

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in ROOT\www\main\admin\customers.php on line 735

 

Warning: reset() [function.reset]: Passed variable is not an array or object in ROOT\www\main\admin\includes\classes\object_info.php on line 17

 

Warning: Variable passed to each() is not an array or object in ROOT\www\main\admin\includes\classes\object_info.php on line 18

 

 

Does this have anything to do with the php.ini file on the webhost side???

  • 3 weeks later...
Posted

I am having this same error when I look at the following file:

 

/catalog/admin/customers.php?selected_box=customers

 

Any ideas?

 

 

JUST FOUND ANOTHER ERROR

 

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in ROOT\www\main\admin\customers.php on line 733

 

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in ROOT\www\main\admin\customers.php on line 735

 

Warning: reset() [function.reset]: Passed variable is not an array or object in ROOT\www\main\admin\includes\classes\object_info.php on line 17

 

Warning: Variable passed to each() is not an array or object in ROOT\www\main\admin\includes\classes\object_info.php on line 18

Does this have anything to do with the php.ini file on the webhost side???

Posted
It is looking for a folder called 'temp' in the root of your web - and not finding it. If you have created that folder did you give it full permissions (777)?

 

You can avoid this by setting the last line of both configure.php files to read 'mysq' where indicated - thus storing sessions in the database and not in files in a 'temp' folder.

 

Vger

 

I gotta hand it to you,, just about every reply I read from you have solved the problem. I'm learning from you too. I read your replies, and I look at the errors from the posters and so forth and try to understand why you gave your answers.

 

I take much pride in saving your replies and (or) tips/tricks and what have you. You are that good Rhea, and I admire that too.

 

 

Kevin

"What I didn't know yesterday, I know today & will remember tomorrow"

(By Kwalker)

 

What do you see when you open up the tep_database-pr2.2-CVS.pdf file that came with your osCommerce download?

Archived

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

×
×
  • Create New...