WP and Gallery in same server but different domains
tripfoto
Joined: 2007-01-03
Posts: 20 |
Posted: Thu, 2007-11-15 18:26 |
Hello, Luca |
|
tripfoto
Joined: 2007-01-03
Posts: 20 |
Posted: Thu, 2007-11-15 18:26 |
Hello, Luca |
|
Posts: 492
We really should have said different domains or subdomains. Your setup should work fine. The important thing is that they're physically on the same server.
Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website
Posts: 20
Hi Kirk,
Thanks for the reply.
I am still trying to get it right.
Wp is here /kunden/101631/trip/tripluca/ (domain www.tripluca.com)
G2 is here /kunden/101631/trip/tripfoto/ (domain www.trifoto.com)
So, in # WPG2 Paths, in Gallery2 URL:
http://www.tripfoto.com gives: file /kunden/101604_80331/trip/tripluca/embed.php does not exist
/kunden/101631/trip/tripfoto/ gives: file /kunden/101604_80331/trip/tripluca/kunden/101631/trip/tripfoto/embed.php does not exist
../kunden/101604_80331/trip/tripfoto/ gives: file /kunden/101604_80331/trip/tripluca/../kunden/101604_80331/trip/tripfoto/embed.php does not exist
so basically i am not able to point to that directory in the same server..I am sure there must be an easy way, do you happen to know it?
Thanks!
Luca
Posts: 492
You should be able to manually enter /kunden/101631/trip/tripfoto/ in the "Gallery2 File Path:" on the WPG2 Paths tab. (Not the Gallery2 URL.) What happens when you do that?
Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website
Posts: 20
Hi Kirk,
I've done as you said and now under the WPG2 Paths tab I have :
WPG2 Paths Status: Valid
The field "Gallery2 URL:" does not show anymore.
But:
in any other tab I click I get "Options not available until WPG2 Plugin is Validated."
where can I validate it?
Thanks!
Luca
Posts: 492
Hmm. It shouldn't do that... The Gallery2 URL "autovalidation" field should be gone, (but there should be a Gallery2 URL field in the manual paths section) since that page thinks it's validated, but the other pages should know it's validated. I'll take a look at the code. We probably didn't set the " "validated" variable correctly in the "Gallery2 File Path" validation algorithm.
I'm on my way out now, and probably won't get to look at it until late tonight or early tomorrow morning. Hopefully it's an easy one line fix, but I'll have to find it and test it out for a while.
Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website
Posts: 1378
tripfoto,
Can you please provide a screen print of the issue, as the Gallery2 URL field does not get suppressed.
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 20
Kirk,
here it is:
Please note that right after inserting the paths, the # WPG2 Paths is blank. A refresh makes it work.
All other tabs show "Options not available until WPG2 Plugin is Validated."
Thanks
Luca
Posts: 1378
Hiya Tripfoto,
Not sure what you mean WPG2 Paths is blank, WPG2 has no configuration item like that, if you mean all the paths are blank, then you have something preventing the WPG2 plugin from working as intended as this is not standard WPG2 behaviour.
In addition your Gallery2 File path is incorrect as WPG2 validation is complaining it cannot find the embed.php in the Gallery2 File path. This could be due to either permissions issues trying to access this file (account user permission issue etc) or the files are not where you believe they are located..
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 20
Hi,
WPG2 Paths is blank = the tab in picture1, is blank right after inserting the path. Then a refresh makes appear the page as in picture1
The Gallery2 File path is correct..I will try to reinstall and let you know.
Thanks for your help!
Tripfoto
Posts: 1378
Sorry to ask this, can you grab a screenshot of the blank path, I am quite curious on what is blank..
How did you go on the reinstall? I meant to ask before is the Gallery2 and Wordpress running on the same user account??
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 20
Sorry for the long delay, I gave up for a while.
Here is the screen shot of the WPG2 tab which is blank.
WPG2 is showing "WPG2 Paths Status: Valid".
Nothing works.
Luca
Posts: 1378
Hiya Tripfoto,
Ok it seems you are now having a different issue from your original "blank" path, please have a read of this thread
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 20
mmmm...see http://www.tripluca.com/phpinfo.php
I have 50MB memory limit. Do you think I should increase?
I even deleted all files and reinstalled. Same.
Posts: 1378
I doubt increasing the size will fix this. It looks like your Gallery2 installation is tripping over when being queried by WPG2. Can you please turn on Gallery2 Debugging and Attach the debug log.
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 20
Done! Here it is
Luca
Posts: 1378
This is the debug log you get when trying to view the WPG2 Validation?
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 20
no, this is what I see in the G2 installation under www.tripfoto.com
No debug messages in WP, I just tried again.
Luca
Posts: 1378
So the WPG2 validation screen generates no debug log, what debug setting are you using??
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 20
I enabled Gallert Debuggin as in here
http://codex.gallery2.org/Gallery2:FAQ#How_to_set.2Fuse_Gallery_in_debug_mode.3F
by changing to
$gallery->setDebug('buffered');
in config.php in tripfoto
Posts: 1378
You should get a G2 Debug log when the WPG2 validates. The fact you are not getting a log also raises the possibility that the PHP script is dying because something in your hosting environment is preventing it from running prior to the G2 validation tests, guessing here but it could be failing at step when it programmatically tries to check if the G2 files exists.
Do you get any errors in your error_log?
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 20
I am back!
Upgraded to wp 2.7, and gave it a new try!
Almost there...almost
See the screenshot.
Any idea?
Luca