Hi:
I write here because i need some help with the following problmem.
I installed in my server the last version of Wordpress (2.5.1) and the last one of Gallery2. Then i installed Wpg2 plugin and when i activated it, Wordpress Crashed.
This is what appears on the index page in wordpress when i active the wpg2 plugin
Quote:
Fatal G2 error
Here's the error from G2: Error (ERROR_MISSING_OBJECT)
* in modules/core/classes/helpers/GalleryUserHelper_medium.class at line 143 (GalleryCoreApi::error)
* in modules/core/classes/GalleryCoreApi.class at line 533 (GalleryUserHelper_medium::fetchUserByUserName)
* in /home/content/p/e/r/perkin/html/wp-content/plugins/wpg2/wpg2embed.inc at line 199 (GalleryCoreApi::fetchUserByUserName)
* in /home/content/p/e/r/perkin/html/wp-content/plugins/wpg2/wpg2embed.inc at line 105
* in /home/content/p/e/r/perkin/html/wp-content/plugins/wpg2/wpg2functions.inc at line 510
* in ??? at line 0
* in /home/content/p/e/r/perkin/html/wp-includes/plugin.php at line 311
* in /home/content/p/e/r/perkin/html/wp-includes/general-template.php at line 866
* in /home/content/p/e/r/perkin/html/wp-content/themes/Blue3/header.php at line 24
* in /home/content/p/e/r/perkin/html/wp-includes/theme.php at line 472
* in /home/content/p/e/r/perkin/html/wp-includes/general-template.php at line 8
* in /home/content/p/e/r/perkin/html/wp-content/themes/Blue3/index.php at line 1
* in /home/content/p/e/r/perkin/html/wp-includes/template-loader.php at line 24
* in /home/content/p/e/r/perkin/html/wp-blog-header.php at line 20
* in /home/content/p/e/r/perkin/html/index.php at line 4
Please, if you know why this is produced please tell me. By the way.. i've read in some other posts that similar problems are caused by apache rewrite mod.. i have to say i activated it in Gallery2.
Thanks for your help!
Posts: 1378
No your issue is slightly different, that line is calling the Create User function and trying to look up a user that is being rejected by Gallery2..
Do you get the same error when you visit the WPG2 Gallery2 Users Tab?
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 6
When you say WPG2 gallery users tab.. are you refering to a tab inside wordpress? or in the gallery2?
Let me give you some answers to see if one of them is what you're asking me.
First of all, there is no Users tab in wpg2 inside Wordpress.
I can see users configuration from the admin panel in Gallery2 and that works fine. I think there's no problem with that. In guest view i cant find an users tab in Gallery.
By the way, i don't use the same user in WP and Gallery, the first one is admin but the second is "Perkin".. Can this cause trouble??
Please, feel free to enter my site and check my gallery as guest if you need to see something.
http://raskmelaspelotas.com.ar/gallery2
Thanks a lot!
Posts: 1378
Should be under the Wordpress User Menu -> Gallery2 Users
I presume you have validated the WPG2 Plugin?
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 6
I found what you said under User Menu and this is the output:
What do you refer with "validate wpg2 plugin"? ... If you ask if i "activated" the plugin of course i did. I can tell you more, before uploading wpg2 into the server i tried it under Wamp in my computer and everything worked just fine.
Posts: 6
Sorry, i saw what did you say about "validate wpg2"
Everything is ok. I have installed Imageframe and imageblock.. As i said, i tried everything in my PC under Wamp and it worked ok.
Posts: 1378
I am pretty sure it is a Gallery2 user issue.. Can you please read this topic and re-visit the Gallery2 Users Tab (it will crash) then cut and paste the Debug log for me..
Thanks..
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 6
This is what i could obtain from the BTEV Tool mentioned in the topic you told me to read:
Thanks for your help again!
Posts: 6
After reading the log i realized what you said about users problem, so i changed the username of gallery2 from "perkin" to "admin".. matching the gallery2 admin with wordpress admin.. and now everything seems to work fine!...
I'd like to help to solve the problem, so anything you need just tell me..
Thanks for your help!
Posts: 1378
I see the issue, I never tested the possibility that WPG2 cannot find any matching users, thus the routine just cannot cope with no users being returned..
Oversight on my behalf, I have opened a bug ticket on this for the next release..
Loving that debug log, makes my job sooo much easier ;)
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo