By redrider on
The links on my site just stopped working and I get page load errors for internal links.
Also, all of my Admin links now take me to my Gallery2 admin page.
I don't even know where to start the troubleshooting, any ideas would be appreciated.
I am using the latest Drupal update as of last week on a Godaddy VDS
Comments
Can you give an example URL
Can you give an example URL of a broken internal link and of the URL of the page where this is happening? (http://example.com/node/10 or http://example.com/?q=node/10)
An example of the URL that you see when you hover the mouse over an Admin link and of the URL of the Gallery page where you end up?
http://cruisinginterface.com/
http://cruisinginterface.com/node/7
http://cruisinginterface.com/blog
http://cruisinginterface.com/bowob
http://cruisinginterface.com/forum
To post a few.
Have you added some Redirect
Have you added some Redirect or some RewriteRule in your .htraccess file (or in apache's conf) which redirects to main.php?
No, I have not.
No, I have not.
Can you compare the .htaccess
Can you compare the .htaccess file which is in your web root directory with this one?
http://cvs.drupal.org/viewvc.py/drupal/drupal/.htaccess?revision=1.90.2....
Do you notice any differences?
# # Apache/PHP/Drupal
Apparently Gallery has added
Apparently Gallery has added its own stuff in Drupal's .htaccess file, for example
But I can't see clearly what is going on because Drupal filtered out the
<...section...>tags from the code that you posted. Enclose the code between<code>and</code>tags.## Apache/PHP/Drupal
If this is Drupal's .htaccess
If this is Drupal's .htaccess file, the two lines added by Gallery are clearly wrong:
The above line is disastrous and destroys all Drupal clean URLs. It should be either
RewriteBase /or nothing. Generally a RewriteBase is only needed if your URL paths do not correspond to real directory paths (for example when they are apache aliases).I am not sure what this one is trying to do, but actually it makes Drupal's /admin section inaccessible. Maybe
RewriteRule ^gallery2/admin /gallery2/main.php?g2_view=core.SiteAdmin [QSA,L], but to be sure you will need to consult the Gallery guys at menalto.com or their documentation (or maybe the maintainer of the drupal gallery module).Thank you so much for your
Thank you so much for your time on this.