View Full Version : ImpEx Causing Internal Server Errors on Ensim 4.0 Host
Rocket_Cowboy
Tue 23rd Nov '04, 3:10pm
I just installed vBulletin 3.0.3 on an existing site which is running an Invision Power Board. The install ran fine, and I'm able to use the admincp just fine.
When I try to run ImpEx from the admincp by selecting Import/Export, I get an internal server error in the right hand pane. Is this a common installation problem, or have I goofed something up?
Steve Machol
Tue 23rd Nov '04, 3:14pm
Are you running PHP as CGI?
Rocket_Cowboy
Tue 23rd Nov '04, 3:57pm
nosir
Steve Machol
Tue 23rd Nov '04, 4:11pm
Strange. I don't see anything in the Impex files that would cause an 'Internal Server Error'. This usually occurs when the files are modified or are on a server running PHP as CGI.
The first thing I recommend is that you reupload all the original Impex files. Make sure you upload these in ASCII format and overwrite the ones on the server.
Rocket_Cowboy
Tue 23rd Nov '04, 4:37pm
Thanks Steve. I tried that without luck. I've had this problem on this particular site with another php app, so I'm going to recreate the site and try again.
Jerry
Tue 23rd Nov '04, 4:45pm
Is it a windows or unix host ?
PHP version ?
Rocket_Cowboy
Tue 23rd Nov '04, 4:52pm
Linux host. Running Ensim Pro 4.0.1 on Fedora Core 1.
Jerry
Tue 23rd Nov '04, 4:54pm
Sounds ok so far, what version of php ?
Rocket_Cowboy
Tue 23rd Nov '04, 5:10pm
php 4.3.4
Hmmm ... maybe it is running php as cgi ... the server api is shown as cgi in the phpinfo output.
Jerry
Tue 23rd Nov '04, 5:13pm
php 4.3.4
Hmmm ... maybe it is running php as cgi ... the server api is shown as cgi in the phpinfo output.
Ahhh, then it might be an error creating the vBfields table.
What did re-uploading the files do ?
Rocket_Cowboy
Tue 23rd Nov '04, 5:28pm
reuploaded ... even deleted the entire site from the server and readded ... same error.
Can I create the vBfields table manually to help things along?
Jerry
Tue 23rd Nov '04, 7:39pm
1st thing to test to see if it is that is to edit impex/index.php
line 111 to 127 :
// create vbfields
....
// Add vars to session
comment it out like this with /* */:
/*
if($ImpExSession->get_session_var('vbfields') != 'done')
{
require_once($systempath. 'impex/vbfields.php');
$queries = &retrieve_vbfields_queries($targettableprefix);
foreach ($queries AS $query)
{
$Db_target->query($query);
}
$ImpExSession->add_session_var('vbfields', 'done');
}
*/
That will stop impex building vBfields.
That means impex can't run though it will prove if that is the issue or not.
Rocket_Cowboy
Tue 23rd Nov '04, 7:54pm
If this helps ... I deleted everything, redownloaded the zip archives from the members area, expanded, edited, and re-uploaded.
One thing I did differently was to specify a php she-bang line before downloading impex.
I'm no longer getting the internal server error, but a now getting:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 84 bytes) in /var/www/html/forums/impex/systems/yabbse/000.php on line 24
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 0 bytes) in Unknown on line 0
At that point, I can not select the source board format, but I can delete sessions/importids/etc.
Am I getting closer? Seems so to me, but this is my first experience with installing and importing.
Jerry
Tue 23rd Nov '04, 7:59pm
Are you importing from IPB 1.3 or 2 ?
Rocket_Cowboy
Tue 23rd Nov '04, 8:05pm
trying to import from 1.3, but I don't get far enough to select the source format.
Jerry
Tue 23rd Nov '04, 8:08pm
Delete all the folders in impex/systems apart from ipb.
I.e. all the ones you don't need, then impex won't have to check them all when it starts up.
Rocket_Cowboy
Tue 23rd Nov '04, 10:42pm
ok, got it working. the last error was corrected by upping the memory limit in /etc/php.ini. once I did that, we were golden.
thanks jerry and steve!
wfp
Fri 3rd Dec '04, 7:22am
If this helps ... I deleted everything, redownloaded the zip archives from the members area, expanded, edited, and re-uploaded.
One thing I did differently was to specify a php she-bang line before downloading impex.
I'm no longer getting the internal server error, but a now getting:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 84 bytes) in /var/www/html/forums/impex/systems/yabbse/000.php on line 24
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 0 bytes) in Unknown on line 0
At that point, I can not select the source board format, but I can delete sessions/importids/etc.
Am I getting closer? Seems so to me, but this is my first experience with installing and importing.
I get the same memory error running Impex.
What can I do?
Jerry
Fri 3rd Dec '04, 8:37am
What is you php memory limit ?
wfp
Fri 3rd Dec '04, 9:07am
thanks! It was 8 Upping it 32 fixed everything!
Jerry
Fri 3rd Dec '04, 9:34am
thanks! It was 8 Upping it 32 fixed everything!
vBulletin is advised to run with 16, ImpEx likes as much as it can get !
Powered by vBulletin™ Version 4.0.0 Beta 4 Copyright © 2009 vBulletin Solutions, Inc. All rights