Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need Help installing using CPanel


AlabamaDesigner

Recommended Posts

Hi there, I just found this cart as an add-on script from my web hosting admin panel and when I go to install it it seems to work fine until I view the cart to see what I have done to it these two warnings are at the tiop of the site:

 

Warning: is_dir() [function.is-dir]: SAFE MODE Restriction in effect. The script whose uid is 32296 is not allowed to access /tmp owned by uid 0 in /home/ermadman/public_html/trishacart/includes/header.php on line 30

and

Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created.

so lets just begin there and please someone tell me how to fix that much of the problem.

 

in CPanel all I had to do was tell the admin panel where to put the board and it installed it for me so now I guess I get to take days to get the rest of the bugs figured out

Link to comment
Share on other sites

You need to have PHP taken out of safe mode.

 

In addition, you either need to redefine the folder that sessions are stored in (Admin ~ Configureation ~ Sessions) or select to store them in the database (catalog/includes/configure.php).

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Link to comment
Share on other sites

Hello Damon

 

I have a couple of questions regarding your reply. :)

 

How you do take php out of safe mode?

 

When I go into admin, configuration - there's no sessions section...

 

Can you be a bit more specific for me please? I appreciate any help you might be able to give me.

 

Kind regards

Eva Browne-Paterson

Link to comment
Share on other sites

In both your admin and catalog/includes/configure.php just add your cession in mysql like this

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

and your problem will be solved

 

HTH

The_Bear

Link to comment
Share on other sites

Thanks so much mate. I could give you a big hug. :lol:

 

That code was in the config.php file but I changed it from ' ' to 'mysql' and it finally works. A million thanks!

 

Cheers

Eva Browne-Paterson

Link to comment
Share on other sites

I have no errors on my main store page but when I login to the admin, I get the following error at the top:

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/bill/public_html/plans/admin/includes/configure.php:55) in /home/bill/public_html/plans/admin/includes/functions/sessions.php on line 67

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...