PDA

View Full Version : Converter Errors


javageek
01-25-2005, 05:07 AM
I have already upgraded to 4.0 now I am trying to convert to FS mode. When trying to run step 3 I get this error:

/public_html/forum/vbgphotos/vbg_test.txt Does not Exist!

I have made sure the file is there and the path and permissions are correct. What am I doing wrong?

I think I got it to go, but now I get the following error:

Fatal error: Call to undefined function: imagecreatefromstring() in /home/tiburon/public_html/forum/admincp/convert_vbgarage.php on line 140

noppid
01-25-2005, 11:02 AM
I have already upgraded to 4.0 now I am trying to convert to FS mode. When trying to run step 3 I get this error:

/public_html/forum/vbgphotos/vbg_test.txt Does not Exist!

I have made sure the file is there and the path and permissions are correct. What am I doing wrong?

I think I got it to go, but now I get the following error:

Fatal error: Call to undefined function: imagecreatefromstring() in /home/tiburon/public_html/forum/admincp/convert_vbgarage.php on line 140

Your first error is a check for a file included with the package for upload. You must upload that file to the images folder you created and set the attributes on that folder to 777.

The second error indicates that your host does not have GD2 enabled. GD2 is required for vBGarage just as it was in 3.1.1.


imagecreatefromstring() returns an image identifier representing the image obtained from the given string. These types will be automatically detected if your build of PHP supports them: JPEG, PNG, GIF, WBMP, and GD2.
http://us3.php.net/manual/en/function.imagecreatefromstring.php


Also please note that to convert to files system mode, you have to have created the thumbnails first with upgrade_vbgarage.php. That step uses imagecreatefromstring as well. It seems to me that you may have missed a step if you didn't get the error during the upgrage process creating the thumbnails?

Let me know if any of that helps.

javageek
01-25-2005, 02:06 PM
I uploaded the test file, I was just using the wrong path.

While using the 4.0.0a release of the upgrade_vbgarage.php file I receive no messages at all when I do the thumbnail update.

noppid
01-25-2005, 02:33 PM
I uploaded the test file, I was just using the wrong path.

While using the 4.0.0a release of the upgrade_vbgarage.php file I receive no messages at all when I do the thumbnail update.

Are you saying you do not have thumbnails yet?

We just tested and posted rev. 4 of the upgrade_vbgarage.php and updated the release file to vBGarage_4.0.0b.zip to include it.

If you do not have thumbnails yet and have not run the converter to remove the images from the DB, please try the new upgrader here...

https://vborg.vbsupport.ru/showthread.php?t=75049

javageek
01-25-2005, 03:44 PM
Is it supposed to say anything after running the thumbnail converter? All I get is a grey screen with a bar on the top that says vBGarage upgrade to 4.0.0 Script (rev. 4). I don't get any error message or success message.

noppid
01-25-2005, 03:53 PM
Is it supposed to say anything after running the thumbnail converter? All I get is a grey screen with a bar on the top that says vBGarage upgrade to 4.0.0 Script (rev. 4). I don't get any error message or success message.

Yes, you should be told that the thumbnails were created and that there were xx images in the DB.

Joe tested on a DB with 730 images and was successful with the correct message at the end.

I see you mentioned the converter, if you ran part two of the converter, then you have no images in the database to create thumbnails from, although I'd still expect a done message.

I have to run out for a while. When I get back I can try to help you on IM if that would help?

javageek
01-25-2005, 04:05 PM
I never ran part two yet. I am still waiting on my host to tell me if I have GD 2.0.0.1 installed or not. I just moved to a new server yesterday. Thanks for the help.

noppid
01-25-2005, 06:12 PM
I never ran part two yet. I am still waiting on my host to tell me if I have GD 2.0.0.1 installed or not. I just moved to a new server yesterday. Thanks for the help.

I'll watch this thread. If we can help in anyway, holler.

javageek
01-25-2005, 06:40 PM
I just got word that we are running the newest GD. So what would cause these issues then?

noppid
01-25-2005, 07:04 PM
Make sure GD is running by going to your ACP and under Import and Maintenance run "View php Info".

You need to see this box if GD is enabled.

dbembibre
01-28-2005, 07:25 PM
When try to run the convertor i receive the following error

Fatal error: Allowed memory size of 7388608 bytes exhausted (tried to allocate 5440 bytes) in /my_path****/admincp/convert_vbgarage.php on line 270

noppid
01-28-2005, 09:45 PM
When try to run the convertor i receive the following error

Fatal error: Allowed memory size of 7388608 bytes exhausted (tried to allocate 5440 bytes) in /my_path****/admincp/convert_vbgarage.php on line 270

Actually I've realized that step is redundant. You run that in the upgrade before running the converter. The upgrader has already been modified to work better with alot of and large images.

Did you run "vBGarage Upgrade - Create Thumbnails for DB" sucessfully in the upgrader? That should work and is re-runable.

If it did, you should be able to see thumbnails and thus skip the create thumbnails step in the converter and just go on to move images to File System. DO NOT delete the images from the database until you have a good backup and you are sure things are configured and working correctly.

So that each the converter and the upgrader have the same code, we are issuing a convert_vbgarage.php revised file. This will be labeled as Revision 2 and packaged in vBGarage_4.0.0c.zip.

Here is the convert_vbgarage.php rev. 2 in this thread. https://vborg.vbsupport.ru/showthread.php?t=75328