Can anyone help, I have been running wpg2 on Mamp running on OSX 10.4
I updated to the lates WPG2 plugin today and immediately got this error.
Quote:
500 Internal Server Error
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator,
and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.0.59 (Unix) PHP/5.2.3 DAV/2 Server at localhost Port 8888
I tried reinstalling everything even Mamp but I can't get it to work. Has anyone any idea what's happened?
Posts: 492
Sorry, I don't have access to a Mac to test on. But just some basic troubleshooting...
Did you have the old WPG2 running successfully on the same box? What happens when you deactivate WPG2, do WordPress and Gallery2 return to normal? Does your Apache error log show any more information?
Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website
Posts: 13
Thanks for the response Kirk.
I had everything working fine with the old plugin. Tried putting the old plugin back but this didn't help, then erased wordpress, mamp and everything related and tried a fresh install, still couldn't get past the error page. Can't get mamp to work on my system at all now with anything installed! Installed xampp instead and that's working well with the new plugin.
Can't run mamp anymore, can't understand it. At least I have it working again with xampp.
This is what I'm getting in the apache error log.
And the sql error log.
I'm happy to use Xampp but am curious as to what happened and wonder has anyone else had the same problem or is it specific to my macbook?
Posts: 13
Just a note in case anyone else has this problem. I found the solution on the MAMP forums. A rogue .htaccess file got written to my hard drive root. Once it was deleted everything went back to normal.
Posts: 1378
Thanks for posting that.. I don't think I would have ever guessed that was the issue..
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 59
Ups... what happened there ...
I experiencend the same issue. I'd well running test with:
Wordpress 2.7
Gallery2 2.3 core 1.3.0
WPG2 2.3.0.7
Everything was OK. WP-rewrites where running.
When I activate the mod_rewrite module in G2 MAMP fails.
Unfortunately and repeatable.
In /.htaccess I found the access-rules created by gallery.
Maybe It is related with the Imagemagick hack, I'd use for MAMP.
As far as I understood this hack, it enables MAMP my shell $PATH. But this wasn't it.
Anyone an Idea how I can enable g2-url-rewrite without killing MAMP?
... little time passing ...
OK. The solution is: You must not enable mod rewrite plugin in gallery2 using the embeded-wpg2-page. When using the interface with /gallery2 path directly It worked well.
... puh
Actually MAMP should not acces systemroot as far as I understood webservers, but it's MAMP.