Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Convert from phpbb to Simple:Press
Avatar
Gomlers
Member
Free Members
sp_UserOfflineSmall Offline
Apr 11, 2013 - 10:33 am

It looks like it fails on max_execution_time and max_input_time, so I've increased these to 600;

It fails on this: Fatal error: Maximum execution time of 120 seconds exceeded in /public_html/bv2013/wp-content/plugins/simple-press/sp-api/sp-api-filters.php on line 2002

I've even put the php.ini file inside that directory, hoping this would fix the problem.. but no :(

(Checked with phpinfo() and it does say this:

max_execution_time 600 600
max_file_uploads 20 20
max_input_nesting_level 64 64
max_input_time 600 600
max_input_vars 1000 1000
memory_limit 128M 128M

It runs good for the first 21 forums, but then it fails on a forum with 57436 posts..

Any ideas?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 11, 2013 - 10:57 am

so might be time to contact your host...  the php.ini file they use must be elsewhere??  it does not seem to be using the one with the 600 seconds set...

Avatar
Gomlers
Member
Free Members
sp_UserOfflineSmall Offline
Apr 11, 2013 - 10:58 am

I run this on a VPS which I control myself. When I check my WebHostManager, these are the values that are set:

max_execution_time: 30

max_input_time: 60.

My php.ini says now 5000 for both, but the scripts again fails at 120 (?)

I now have absolutely NO idea.. Any inputs from you guys at all, would help a lot ;)

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 11, 2013 - 11:03 am

that could vary alot...  does your vps give you WHM (cpanel on steroids for domain management)?

maybe try putting it directly in the importer code...

http://www.php.net/manual/en/f.....-limit.php

in the file sp-import/engine/spimport.php

and see if that helps...

 

Avatar
Gomlers
Member
Free Members
sp_UserOfflineSmall Offline
Apr 11, 2013 - 11:09 am

Mr Papa said
that could vary alot...  does your vps give you WHM (cpanel on steroids for domain management)?

maybe try putting it directly in the importer code...

http://www.php.net/manual/en/f.....-limit.php

in the file sp-import/engine/spimport.php

and see if that helps...

 

Thank you for giving me directions, and I wish I could say thank you, that worked! - But when it comes to php and programming, I'm as bad as my great grandmother... and she isn't that good..

So could you tell me what to put, in what file - I would send you some flowers.. At least in my head.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 11, 2013 - 11:16 am

flowers?  nah, send beer or wine! cool

after the leadoff docs... after this

# Load up the query variables --------------------------------------
$task = $_GET['action'];
if(isset($_GET['phase'])) $phase = $_GET['phase'];

try adding

set_time_limit (600);

dont know if it will help or not, but worth the try...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 11, 2013 - 11:19 am

lol, do you even need this anymore?  though the gconvert guys finsihed?

Avatar
Gomlers
Member
Free Members
sp_UserOfflineSmall Offline
Apr 11, 2013 - 11:26 am

Ok, beer it is ;)

I'm not happy with how it's done, I'm sure gConvert is great at some thing, but converting my forum - not so much. Sorry to say.

E.g:

The postcount inside a thread:

First post is: 1

Second post is 165856

Third post is 166568

and so on.. (for all the threads)

And the link from the main forumpage, which goes to the last post posted, goes to the postnumber e.g 165645 which by simple-press is the ID used for the post, so the page it tries to go to, is 165645 which of course does not exist, returning a "You don't have permission do see this".

They have spent a week by now, and I don't have the time to play around anymore, so I'll try to do the job myself.

So YES, I really need this!

Avatar
Gomlers
Member
Free Members
sp_UserOfflineSmall Offline
Apr 11, 2013 - 11:30 am

Just to defend myself a little bit - normally I have this programmer who does all this stuff for me, but he has too much work from others right now, and doesn't have the time to help me - so here you are, stuck with me.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 11, 2013 - 11:32 am

you should be able to reindex all that stuff... forum - toolbox - housekeeping...  but possible I am missing something...

let me know if that helps the importer...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625