wpg2 no access to wp-gallery2.php

diegogrone

Joined: 2005-12-27
Posts: 11
Posted: Fri, 2005-12-30 14:17

Hi dear Community;
I installed WP and Gallery2, also I installed and activated the wpg2-module
Afterward I changed header.php and sidebar.php for showing thumbs in by sidebar.

On my blog the thumbnails are showed correctly, but if you click on them, you get this error-notice:

Error
Error (ERROR_PLATFORM_FAILURE) :
in modules/core/classes/GalleryTemplate.class at line 270 (gallerystatus::error)
in modules/core/classes/GalleryTemplate.class at line 200 (gallerytemplate::_initcompiledtemplatedir)
in main.php at line 311 (gallerytemplate::fetch)
in main.php at line 87
in modules/core/classes/GalleryEmbed.class at line 153
in /www/htdocs/w0063921/wordpress/wp-gallery2.php at line 55 (galleryembed::handlerequest)

chmod 777 was done over the whole gallery2-folder; the rewrite-module is deactivated.

It seems to me that it is not possible to read the wp-gallery2.php file.
Maybe a permission-problem.

Here my website: http://http.journaille.com/wordpress/
Here sysinfo: http://journaille.com/cgi-bin/sysinfo/sysinfo.cgi
Here php-Info: http://journaille.com/gallery2/phpinfo.php

When I try to show a image in my blog like <wpg2>usa</wpg2> I get this error-information:
Warning: rename(/www/htdocs/w0063921/gallery2/g2data/sessions/811ae9cb426bc08f2973d12658d4621a): failed to open stream: no permission in /www/htdocs/w0063921/gallery2/modules/core/classes/GalleryPlatform.class on line 485

Warning: rename(/tmp/811ae9cb426bc08f2973d12658d4621aRGFBC4,/www/htdocs/w0063921/gallery2/g2data/sessions/811ae9cb426bc08f2973d12658d4621a):no permission in /www/htdocs/w0063921/gallery2/modules/core/classes/GalleryPlatform.class on line 485

I would be happy if anybody could help me.
thanks alot.
Diego.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-12-30 15:19

chmod -R 777 /www/htdocs/w0063921/gallery2/g2data/

the -R is essential (r = recursive)

 
diegogrone

Joined: 2005-12-27
Posts: 11
Posted: Fri, 2005-12-30 15:56

Dear Valiant;
thank you very much for your help.
I tried it exactly the way you showed me, but there is still the
same error. I tried it with WS_FTP, my webhost is www.allinkl.com

Error
Error (ERROR_PLATFORM_FAILURE) :
in modules/core/classes/GalleryTemplate.class at line 270 (gallerystatus::error)
in modules/core/classes/GalleryTemplate.class at line 200 (gallerytemplate::_initcompiledtemplatedir)
in main.php at line 311 (gallerytemplate::fetch)
in main.php at line 87
in modules/core/classes/GalleryEmbed.class at line 153
in /www/htdocs/w0063921/wordpress/wp-gallery2.php at line 55 (galleryembed::handlerequest)

I have seen in this forum that you very often told people with simular problems to do this and I am sure it should work, but...

As I wrote, the wp-gallery2.php file shows the same error: http://journaille.com/wordpress/wp-gallery2.php

If you don´t mind I will send you my ftp - logins as a private message.
Greetings, Diego, Germany...

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-12-30 16:49

- please don't send me PMs if not asked to
- you can't do a chmod -R with an FTP program (some ftp programes can emulate it, but it's not the same)
- ask your webhost to do a
chmod -R 777 /www/htdocs/w0063921/gallery2/g2data/
call for you.

 
diegogrone

Joined: 2005-12-27
Posts: 11
Posted: Fri, 2005-12-30 17:04

- Sorry for the PMs
- I phoned my host and now it works!

Thank you very much!