I use Debian stable with Apache 1.3.26 and PHP4.
I installed this gallery according to instructions. Apache is running with "LoadModule rewrite_module /usr/lib/apache/1.3/mod_rewrite.so"
Here are my filelocations.
Apache root:
/var/www
gallery: (jpg's)
/var/www/mygallery/
.htaccess:
/var/www/.htaccess
RewriteRule:
RewriteRule .* /var/www/mygallery/__phpAutoGallery/wrapper.php [NE,QSA,L] (all in same line)
permission to write to default /var/tmp
(contains empty directories):
/var/tmp/phpAutoGallery/192.168.1.10/mygallery/
I am also having this trouble on a Gentoo box. My .htaccess file is however in the correct location. I cannot locate the "gd-section" of phpinfo output but you can view the output at http://68.61.63.190/info.php.
.htaccess includes (I have tried w/ and w/o RewriteBase)
+++++++begin selection+++++++
RewriteEngine on
RewriteBase /gallery/
Wow! That was the quickest response I had ever gotten on sf.net. Thanks a bunch pappkamerad! It took me a couple of days to figure out exactly how to pass the --with-gd configure option with emerge but once I figured it out, it worked perfectly. You hit that one right on the head! Here is how I figured out how to compile gd into php with emerge: http://forums.gentoo.org/viewtopic.php?t=80679 . Thank you for the code and the support.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
my phpinfo() report says apache was compiled with:
--with-gd=shared,/us
and for the GD section:
GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
T1Lib Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
Yet I still get this error, and it no-workie-for-me! =(
Would greatly appreciate some helpful advice!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi.
I use Debian stable with Apache 1.3.26 and PHP4.
I installed this gallery according to instructions. Apache is running with "LoadModule rewrite_module /usr/lib/apache/1.3/mod_rewrite.so"
Here are my filelocations.
Apache root:
/var/www
gallery: (jpg's)
/var/www/mygallery/
.htaccess:
/var/www/.htaccess
RewriteRule:
RewriteRule .* /var/www/mygallery/__phpAutoGallery/wrapper.php [NE,QSA,L] (all in same line)
permission to write to default /var/tmp
(contains empty directories):
/var/tmp/phpAutoGallery/192.168.1.10/mygallery/
When I go to http://tuipveus.myftp.org/mygallery/ browser says: The requested URL /mygallery/ was not found on this server.
When I go to http://tuipveus.myftp.org/mygallery/__phpAutoGallery/wrapper.php browser says: Fatal error: Image: Imagetype (jpg) not supported for reading. in /var/www/mygallery/__phpAutoGallery/include/Image_Toolbox.class.php on line 444
I took that image from your website so it should work. I tried with gif-images too but error-text is just changing to
Fatal error: Image: Imagetype (gif) not supported for reading. in /var/www/mygallery/__phpAutoGallery/include/Image_Toolbox.class.php on line 444
I havent found any images which would work with this php. I think I have some configuration problem but what is it.
I just forgot to mention that my GDlib is Version: 1.8.4-17.woody2 and I have also tried with version Version: 2.0.1-10.
libjpeg62 also installed.
Was this ever solved? I am having the same trouble.. Just installed tonight with the latest release...
<jb>
ok, can you provide me the output of the "gd-section" of phpinfo() on your server. and the php-, and gdversion you are using.
btw...
in the above example the .htaccess file should reside here:
/var/www/mygallery/.htaccess
(in the same folder as the __phpAutoGallery folder)
I am also having this trouble on a Gentoo box. My .htaccess file is however in the correct location. I cannot locate the "gd-section" of phpinfo output but you can view the output at http://68.61.63.190/info.php.
.htaccess includes (I have tried w/ and w/o RewriteBase)
+++++++begin selection+++++++
RewriteEngine on
RewriteBase /gallery/
RewriteCond %{REQUEST_URI} !.*__phpAutoGallery/wrapper\.php.*
RewriteRule .* /gallery/__phpAutoGallery/wrapper.php [NE,QSA,L]
+++++++end selection+++++++
I have tried both common extensions jpg and jpeg.
Any help is greatly appreciated.
Thanks,
Rockey
the GD-extension must be compiled into PHP for this to work. (http://www.php.net/manual/en/ref.image.php)
your version was explicitly compiled without GD:
'--without-gd'
as you can see in your "Configure Command' output in your phpinfo.
Wow! That was the quickest response I had ever gotten on sf.net. Thanks a bunch pappkamerad! It took me a couple of days to figure out exactly how to pass the --with-gd configure option with emerge but once I figured it out, it worked perfectly. You hit that one right on the head! Here is how I figured out how to compile gd into php with emerge: http://forums.gentoo.org/viewtopic.php?t=80679 . Thank you for the code and the support.
Is there a solution for this on debian?
I've come across this same problem running on debian and ubuntu, is there a good solution?
I've got apache (1.3.31-6), php4 (4.3.8-3ubuntu7), php4-gd (4.3.8-3ubuntu7), and libgd-dev (1.8.4-36) installed.
my phpinfo() report says apache was compiled with:
--with-gd=shared,/us
and for the GD section:
GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
T1Lib Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
Yet I still get this error, and it no-workie-for-me! =(
Would greatly appreciate some helpful advice!