cannot validate the Gallery2 to WPG2 Relative Path
|
leslienord
Joined: 2003-09-08
Posts: 40 |
Posted: Sat, 2008-05-03 15:34
|
|
Even after deactivating and re-activating WPG2 version 3.0.6, I still get this glaring red warning: Validation Error: WPG2 plugin cannot validate the Gallery2 to WPG2 Relative Path /var/www/vhosts/mydomain.com/httpdocs/memories/../var/www/vhosts/mydomain.com/httpdocs/wp-content/plugins/wpg2/templates/wpg2imageblock.tpl My WordPress version is 2.5.1 and my Gallery2 version is 2.2.4 Everything worked fine until I upgraded to this latest version. Do I need to make any permissions setting changes? Thanks, |
|
| Login or register to post comments |

Posts: 40
I forgot to mention - I verified the path ../var/www/vhosts/mydomain.com/httpdocs/wp-content/plugins/wpg2/templates/wpg2imageblock.tpl
is correct the wpg2imageblock.tpl is right there and I have manually tried to validate the path
../var/www/vhosts/mydomain.com/httpdocs/wp-content/plugins/wpg2 in the WPG2 Paths settings.
Leslie
Posts: 1022
Leslie,
No your document path is a little too broad, I was afraid this would be the case on certain hosting firms.. -> ../var/www/vhosts/mydomain.com/httpdocs/ is not required..
Try ../wp-content/plugins/wpg2
Remember this translates to .. move up one directory, and change to /wp-content/plugins/wpg2 which would indicate your Gallery2 is in a subdirectory of your Wordpress
or try ../wordpress/wp-content/plugins/wpg2
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 9
I am getting the exact same issue. I've tried several alternative ways of typing in the path, but it hasn't resolved anything.
Is the Gallery 2 directory _supposed_ to be inside the Wordpress one?
Posts: 1022
No, it works either way.. (Gallery2 being inside or outside your Wordpress Directory)
inside your wordpress your path will be -> ../wp-content/plugins/wpg2
Outside your path will be ../directory/wp-content/plugins/wpg2
directory being the directory wordpress is in..
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 40
Thank you! That got it going again. I used ../wp-content/plugins/wpg2 since my WP resides at the root level.
Leslie
Posts: 9
Never mind. I wasn't aware one had to add a ../ for every single folder away from the root (my gallery is within a "multimedia" folder which is within an "archival" folder).
Thanks,
dwrz
Posts: 1022
Glad you got it working
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 5
I'm having a similar issue. I've had both running great for the last year, until I decided to upgrade wp to 2.5.1. I thought I deactivated WPG2 before I uploaded the new version...
My wordpress dir is crescibene.com/blog
Gallery 2 is in dir crescibene.com/images/gallery2
I know this is got to be simple but I can't resolve it...Any thoughts?
Wordpress 2.5.1 and Gallery2 3.0.6
Thanks in advance!!
Posts: 1022
It will be ../../blog/wp-content/plugins/wpg2
.. = go up a directory so you have to go up two directories to return to / then you are sweet
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 5
Worked like a charm. Thank you!
Posts: 1
Have a similar problem. I would solve it but do not really know if the problem is the path or something else, maybe restrictions...
My gallery and blog run on two different subdomains:
For the gallery2 File Path I put
/var/www/vhosts/<my domain>/subdomains/pictures/httpdocs/
For the Gallery2 to WPG2 Relative Path:
../../blog/httpdocs/wp-content/plugins/wpg2
while the file path is
/var/www/vhosts/<my domain>/subdomains/blog/httpdocs/wp-content/plugins/wpg2
I do not really get the failure that the path cannot be validated, but:
Fatal error: Class 'GalleryEmbed' not found in
/var/www/vhosts/<my domain>/subdomains/blog/httpdocs/wp-content/plugins/wpg2/wpg2embed.inc on line 42
Is it not possible two use the plugin over two subdomains, or what should I change?
Thanks in advance!
Posts: 1022
Sorry I must have missed this post before.. That error is a different issue.. Your Gallery2 File Path appears to be incorrect which is why it cannot find "Fatal error: Class 'GalleryEmbed'"
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo