G3 Beta 1 - Import from Gallery 2 not taking path to embed.php file...

forefire

Joined: 2009-07-05
Posts: 1
Posted: Sun, 2009-07-05 07:56

I can't get G3 to take the path to my embed.php file from my gallery 2. I have enter all kinds of path statments that I can think of. The Gallery 2 and 3 are installed under the domainName listed below. This is running on 1and1.com servers. Please let me know if you need any more info or any ideas of what I can try - Thank you. I will list all the options I have tryed.

These are the two path statements in full..
/homepages/46/d93725049/htdocs/DomainName/gallery2/embed.php

/homepages/46/d93725049/htdocs/DomainName/gallery3
-----
I have tryed..
/homepages/46/d93725049/htdocs/DomainName/gallery2/embed.php
homepages/46/d93725049/htdocs/DomainName/gallery2/embed.php
/46/d93725049/htdocs/DomainName/gallery2/embed.php
46/d93725049/htdocs/DomainName/gallery2/embed.php
/d93725049/htdocs/DomainName/gallery2/embed.php
d93725049/htdocs/DomainName/gallery2/embed.php
/htdocs/DomainName/gallery2/embed.php
htdocs/DomainName/gallery2/embed.php
/DomainName/gallery2/embed.php
DomainName/gallery2/embed.php
/gallery2/embed.php
gallery2/embed.php

../gallery2/embed.php

DomainName\gallery2\embed.php
\gallery2\embed.php

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2009-07-05 17:24

Create a file, say work_dir.php put in it:

<?php
print getcwd();
?>

place that in your gallery2 folder where main.php and embed.php are.
browse to it. It will display the path you need.

Try a recent version from git as well as lots of code has changed since beta1

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team