SMF Support > SMF 2.0.x Support

Problem with several attachment paths

<< < (5/5)

Kays:
Cool. :)

Now before you run that maintenance routine. Try to locate those files you moved and return then to where they were before. Otherwise the entries for those files will be removed from the database if they're not found..

Marked this as solved. :)

Dylert:

--- Quote from: emanuele on August 04, 2012, 04:59:00 PM ---In ManageMaintenace.php

--- Code: (find) --- // Have we already used our maximum time?
if (time() - array_sum(explode(' ', $time_start)) < 3)
--- End code ---

--- Code: (replace with) --- // Have we already used our maximum time?
if (time() - array_sum(explode(' ', $time_start)) < 30)
--- End code ---

--- End quote ---

I don't have these lines in my ManageMaintenance.php
I have this, but it is not the same:

--- Code: ---if (array_sum(explode(' ', microtime())) - array_sum(explode(' ', $time_start)) > 3)
--- End code ---

Is it the ManageMaintenace.php in the Sources folder you are reffering to?

Dylert:

--- Quote from: Kays on August 04, 2012, 05:54:53 PM ---Cool. :)

Now before you run that maintenance routine. Try to locate those files you moved and return then to where they were before. Otherwise the entries for those files will be removed from the database if they're not found..

Marked this as solved. :)

--- End quote ---

It was only one file. I will delete it. :)

Kays:
OK. :)

For that code change, look in manageAttachments.php

emanuele:
Sorry!
Wrong file indeed... :-[

Navigation

[0] Message Index

[*] Previous page

Go to full version