no drupal admin access after g2 install and config

ralfvk

Joined: 2007-09-19
Posts: 5
Posted: Wed, 2007-09-19 07:24

Hi there,

i have the following problem.
I'm running Drupal 5.2 and the latest version of Gallery2.
Both as a standalone is running fine, but after configuring G2 embedding through the setup page within drupal I got a server 500 error message when I try to access the admin area of drupal.

What I've done ?
added the module gallery
configuring Clean URL in G2 (running without errors)
configuring directories within setup page in drupal (no errors occurs)
the block image is shown in the left sidebar.
.htaccess (g2 and drupal) full r/w access (temporarely of course)

By clicking that image thumbnail and by trying to access the admin area of drupal I'm running into that server 500 error.
Even after unable clean urls that error occurs.
Just renaming the g2 folder is enough to stop occuring that error.
So it seems to be a problem with the G2 installation which runs without errors.

Any suggestions what's wrong here ?

Thanks
Ralf

 
profix898

Joined: 2005-11-08
Posts: 135
Posted: Wed, 2007-09-19 07:41

In most cases 'error 500' is due to a malconfigured/-formed .htaccess or wrong filesystem permissions. Make a backup of you current .htaccess and replace it with the original Drupal one. Then temporarily disable URLRewrite in G2 and try again. Once everything is working, you can play with rewrite settings again.

 
ralfvk

Joined: 2007-09-19
Posts: 5
Posted: Wed, 2007-09-19 16:08

thanks for quick reply profix.
But if I replace the .htaccess with the original Drupal file, the error 500 returns promptly just by accessing the root website.

I figured out the following:
Installing and configuring of the gallery module works fine.
At the gallery embedding setup site everything is status success.

From that moment on, I tried to access the gallery2 from drupal, the error is there again.
Just deleting the gallery folder let the error go ...
Independent if I turn URL rewrite of G2 on or off.

So, I'm guess I will try another gallery for drupal integration.
Any suggestions ?