no embed.php found

oliviashope

Joined: 2008-09-16
Posts: 1
Posted: Tue, 2008-09-16 16:33

I am trying to install Gallery in my Wordpress blog. I am unable to validate the installation and get the following error message during validation.

Error: embed.php cannot be located in the specified File Path.

I am unable to locate embed.php in any of my directories.

When I attempt to change the page name, I get the following error message.

Fatal error: Class 'GalleryEmbed' not found in ../htdocs/journal/wp-content/plugins/wpg2/wpg2embed.inc on line 42

Any help would be appreciated.

 
wanda valentine

Joined: 2010-04-28
Posts: 1
Posted: Thu, 2010-04-29 00:09

hi, i also have similar problem and have been scouring the support forums for the answer i have not found.

Gallery2 URL: /sectors/wp-content/plugins/wpg2/

Gallery2 File Path: /home/content/38/6023538/html/sectors/wp-content/plugins/wpg2

Gallery2 to WPG2 Relative Path: ../../../../sectors/wp-content/plugins/wpg2/

On Gallery Error Redirect to: http://anomie.ca/sectors/wp-login.php

the result is:

WPG2 Validation Check: Failed (Help)
1. Wordpress Compatible? - [ Success]
2. URI to Gallery2 Ok? - [Success]
3. Gallery2 can be located in G2 File Path? - [Failed]
Error: embed.php cannot be located in the specified File Path.

if i make a blank page called embed.php, i get this error:
Fatal error: Class 'GalleryEmbed' not found in /home/content/38/6023538/html/sectors/wp-content/plugins/wpg2/wpg2embed.inc on line 42

If I change "Gallery2 File Path:" I get this other error:
Validation Error: WPG2 plugin cannot validate the Gallery2 to WPG2 Relative Path /home/content/38/6023538/html/sectors/wp-content/plugins/wpg2/../../../sectors/wp-content/plugins/wpg2//templates/wpg2imageblock.tpl

I can see that wpg2embed.inc is the same file path as in the file path on my FTP programme.

and if i type in
http://anomie.ca/sectors/wp-content/plugins/wpg2/wpg2embed.inc
into the URL bar, the wpg2embed.inc file is what shows up.

line 42 says; $ret = GalleryEmbed::init( array(

i can't figure out what the problem is. please help...

 
Dragonsys

Joined: 2004-12-27
Posts: 72
Posted: Tue, 2010-05-11 14:53
wanda valentine wrote:
Gallery2 URL: /sectors/wp-content/plugins/wpg2/

Gallery2 File Path: /home/content/38/6023538/html/sectors/wp-content/plugins/wpg2

Gallery2 to WPG2 Relative Path: ../../../../sectors/wp-content/plugins/wpg2/

I am pretty sure those are wrong.
1st - Gallery2 URL: what you have is NOT a URL, a url is http://www.mydomain.com/gallery
2nd - is your Gallery really installed under your Blog's plugin folder??? It should be in it's own folder
3rd - Make sure you are pointing to your Gallery's files, not the files for WPG2