Paths are correct, but still: "Fatal error: Class 'GalleryEmbed' not found in..

Gymnae

Joined: 2006-11-07
Posts: 10
Posted: Tue, 2008-08-12 15:12

Hi,
I recently moved with my entire Server to a new Host. The transition worked ouf flawlessly except for WPG2.
The paths are the following:
/var/www/vhosts/DOMAIN/subdomains/blog/httpdocs/ to the wordpress root and
/var/www/vhosts/DOMAIN/subdomains/foto/httpdocs/ to the gallery2 root.
The Gallery2 Version didn't change after the move. The following paths are in the setup:
Gallery2 File Path: /var/www/vhosts/DOMAIN/subdomains/foto/httpdocs/
Gallery2 to WPG2 Relative Path: ../../blog/httpdocs/wp-content/plugins/wpg2

I think these are the relevant paths. There's no error shown at all, so I presume the paths are ok. There's this nasty error message on the WPG2 main page that keeps the plugin from validating:

"Fatal error: Class 'GalleryEmbed' not found in /var/www/vhosts/DOMAIN/subdomains/blog/httpdocs/wp-content/plugins/wpg2/wpg2embed.inc on line 42"

I googled here and on the rest of the Internet and couldn't find an explanation... maybe someone can help :)

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Wed, 2008-08-13 22:29

Translate that to WPG2 cannot find the gallery2 embed.php file, which would meant the path to Gallery2 is incorrect. The simple solution would be to blank out the Gallery2 URL then try the Auto configure option and see if you get the correct Gallery2 path then..

____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo

 
Gymnae

Joined: 2006-11-07
Posts: 10
Posted: Sun, 2008-08-17 02:08

Did that before, didn't work. All the previously embeded pictures work, it's just the Plugin that won't validate. The path is correct, I can manually use it to browse to the embed.php, that's the problem..

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Sun, 2008-08-17 22:24
Gymnae wrote:
Did that before, didn't work. All the previously embeded pictures work, it's just the Plugin that won't validate. The path is correct, I can manually use it to browse to the embed.php, that's the problem..

Either the path is still incorrect or you have process or a permission stopping WPG2 from accessing the embed.php file..
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo

 
Gymnae

Joined: 2006-11-07
Posts: 10
Posted: Sun, 2008-10-12 20:25

Late comment, but it still isn't working. What kind or permission problem or process could it be? All the files are owned be www-data and have at least a 644 permission.

Btw: Nice, at the moment of me answering this post you had 1337 postings ;)

 
Gymnae

Joined: 2006-11-07
Posts: 10
Posted: Wed, 2008-12-10 03:38

*bump*

It's sadly, even after updating both gallery2 & wordpress inlc. the wpg2 plugin.

The error stays the same. All permissions are right, owners are the same and I can manually browse the paths.

any idea?