Post by deano65 » Tue Oct 25, 2011 6:04 pm

Hi all

within my admin I am getting the following error when I preform an action. Its rather random when the error appears. It does appear however when i try to export from the import/export.

The error is always mounted-storage related.

Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in /mounted-storage/home148/sub008/sc79999-VADH/my-website.co.uk/admin/controller/tool/export.php on line.

I thought that this could be a hosting issue but my hosts say that its not.
I have rediscussed your issue with our admins and they have rechecked and investigated your issue and updated that the session path is incorrect or the folder non existant as we cant find it. Also their is no problem form the server side. It is also suggested that you should install the application from auto-installer as it will work as it should.
Im confused ???

New member

Posts

Joined
Thu Oct 20, 2011 4:18 pm

Post by JAY6390 » Tue Oct 25, 2011 6:08 pm

It's because the script tries to set the max execution time for the script, but it's not allowed by your hosting. I'm guessing you're on some shared hosting of some sort. This has nothing to do with sessions. Sounds like your hosting support can't read php errors correctly. "Cannot set time limit in safe mode" kind of says it all

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by deano65 » Tue Oct 25, 2011 6:16 pm

cheers.

Yes I am on a shared host.

i shall contact them again...

New member

Posts

Joined
Thu Oct 20, 2011 4:18 pm

Post by JAY6390 » Tue Oct 25, 2011 6:19 pm

If they have set your hosting to use safe mode, then chances are they won't actually remove it. The best thing you could do is open

Code: Select all

admin/controller/tool/export.php
find the line with

Code: Select all

set_time_limit
and put a # before it. That will comment out the line. Note if you have a lot of products, then you need a better host, as this is likely to time out before you complete the imports/exports

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by deano65 » Tue Oct 25, 2011 6:22 pm

Im not going to list more than 200 products to be honest.

I will see what the hosts say. If they don't fix it then I shall make the change that you recommended :)

Thanks Jay

New member

Posts

Joined
Thu Oct 20, 2011 4:18 pm
Who is online

Users browsing this forum: Bing [Bot] and 141 guests