Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HUGE problem or bug?


draculakos

Recommended Posts

Posted

Hello guys.. I am setting up my oscommerce e-shop and i have finished with all constribution etc.. The only thing left to be ready, was to add the categories and products.. So while i was adding the categories i made a mistake and i tried to delete the category, and i pressed delete, and when i pressed confirm delete i got this error :

 

Warning: set_time_limit(): Cannot set time limit in safe mode in /var/www/vhosts/turbosim.gr/httpdocs/oscommerce/admin/includes/functions/general.php on line 737

 

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/turbosim.gr/httpdocs/oscommerce/admin/includes/functions/general.php:737) in /var/www/vhosts/turbosim.gr/httpdocs/oscommerce/admin/includes/functions/general.php on line 22

 

After this i go back, but all the categories and all the products were deleted!!!

What is going on..?

I am Maintaining :

Product_Short_Description (i added it on specials.php and in shopping_cart.php)

City Shipping Rates With Admin (fixed the error that was giving wrong total shipping charges)

I had Created :

UTF bug fix on standard reviews system (admin & block)

Corrupted character on mysql with utf-8

Posted

The set_time_limit function won't work if your server is operating in safe mode. But the standard code of oscommerce should check that. So either your server isn't returing the correct value of you have some code installed that is not using the oscommerce set_time_limit function. You might want to check with your host first to see if safe mode is enabled and, if it is, will they disable it.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted

so i have to ask my host to disable the safe mode? And if yes, this will not make any trouble to my site?

I am Maintaining :

Product_Short_Description (i added it on specials.php and in shopping_cart.php)

City Shipping Rates With Admin (fixed the error that was giving wrong total shipping charges)

I had Created :

UTF bug fix on standard reviews system (admin & block)

Corrupted character on mysql with utf-8

Posted

i got in the cpanel on the settings and after the Php support check it has this : (PHP 'safe_mode') and i turned it to off and i think now is ok.. :) thank you.

This will not make any trouble to any other part on my site ?

I am Maintaining :

Product_Short_Description (i added it on specials.php and in shopping_cart.php)

City Shipping Rates With Admin (fixed the error that was giving wrong total shipping charges)

I had Created :

UTF bug fix on standard reviews system (admin & block)

Corrupted character on mysql with utf-8

Posted

Is is used, wrongly, by some hosts as a means of security. In almost all cases it doesn't server much purpose and there are other ways for hackers to get around it. But I can't make a blanket statement that it is safe for you since I've no idea how your host has the server set up. If they have done it correcty, having that setting off won't hurt. But you might want to check with them and see what they say.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Archived

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

×
×
  • Create New...