Search…

X3 Photo Gallery Support Forums

Search…
 
Luckee69
Topic Author
Posts: 3
Joined: 01 Dec 2007, 16:00

What To Do When You Get These Errors>> New

01 Dec 2007, 16:11

GD2 Probe:

If everything is okay you should see a green mark below,
otherwise contact your hosting provider.

PHPInfo:
ImageCreateFromJpeg...
Fatal error: Call to undefined function imagecreatefromjpeg() in C:\Inetpub\wwwroot\test1\gdtest.php on line 23

../content Probe:
===============================================
opendir():OK
chdir():OK
fopen():
Warning: fopen(test.tmp) [function.fopen]: failed to open stream: Permission denied in C:\Inetpub\wwwroot\upload\test\dirtest.php on line 13


How to get past these to start setting up my page
Thanks
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

02 Dec 2007, 06:02

It seems your server does not have, or has an outdated GD2 PHP extension. This extension is used by Imagevue to automatically create thumbnail preview images from your original pictures. You basically have two options to overcome this:

1. Contact your webserver service provider/admin, and ask them to install or update to the GD2 extension for PHP.

2. If you can not achieve that of above, your only option is to create your own thumbnails. The rule for thumbnails is simply "tn_"+"original_name.jpg". There are many software packages that can easily batch process thumbnails for a folder. For example irfanview -

I believe you can disregard the 2nd issue with the warning ...
 
Luckee69
Topic Author
Posts: 3
Joined: 01 Dec 2007, 16:00

02 Dec 2007, 13:50

I just installed the new PHP pack, do i need the GD2 software from somewhere? The webserver is mine so no one to call.

ok after i install that sftware do i then login to the admin page>?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

03 Dec 2007, 00:55

Normally, the GD2 extension is included in the PHP download. However, you need to enable it in your php.ini file, and 'restart server'.

In php.ini, there should be a line somewhere:
Code
;extension=php_gd2.dll
The ; character means it is not enabled. You should simply change it to:
Code
extension=php_gd2.dll
After you install the software(or simply upload it..), you need not login to the admin page. Mainly you need to log in to FTP and create/manage folders, and upload image. The admin is for the following only:

1. Uploading photos (single file uploads)
2. Deleting photos
3. Creating thumbnails
4. Creating descriptions

FTP is superior in file management.