Drupal 7 Admin Panels Not Working

Status
Not open for further replies.

davenote

New Member
Messages
28
Reaction score
0
Points
1
Site : http://davenotes.davenotes.x10.mx/
Server : xo1
This is a Drupal 7 site which was working correctly one week ago. Now, none of the administrative panels / functions are working. I have not made any changes to the site. What server changes have occurred in the past week to cause this problem?

The following thread sounds like a related issue :
https://community.x10hosting.com/threads/strange-url-error-in-drupal-site.194880/
The user states:
"Although all the basic pages are viewable with this URL problem, the overlays that Drupal uses for all administrative functions will not work at all.
This problem is preventing me from logging into the site or doing any editing."

Thanks,
DaveS
 
Last edited:

tempx103

New Member
Messages
28
Reaction score
0
Points
1
Site : http://davenotes.davenotes.x10.mx/
Server : xo1
This is a Drupal 7 site which was working correctly one week ago. Now, none of the administrative panels / functions are working. I have not made any changes to the site. What server changes have occurred in the past week to cause this problem?

The following thread sounds like a related issue :
https://community.x10hosting.com/threads/strange-url-error-in-drupal-site.194880/
The user states:
"Although all the basic pages are viewable with this URL problem, the overlays that Drupal uses for all administrative functions will not work at all.
This problem is preventing me from logging into the site or doing any editing."

Thanks,
DaveS
You are correct. That sounds like the same problem I reported here https://community.x10hosting.com/threads/strange-url-error-in-drupal-site.194880/

My site is also built with Drupal 7 and I did not make any alterations to the site before the administrator pages became unusable. The problem must be a result of the changes that were made to the servers, but I have not received any response since last Friday when I was told x10 support knew about the problem and were working on it.

I don't know if the issue is only affecting sites running Drupal, but I hope the problem is not a low priority (for x10 hosting) if it only affects a limited number of users because until this is resolved, the sites are inoperable since we are effectively locked out of accessing the sites.
 

bdistler

Well-Known Member
Prime Account
Messages
3,534
Reaction score
196
Points
63
I don't know if the issue is only affecting sites running Drupal, but I hope the problem is not a low priority (for x10 hosting
it IS affecting other CMS - and is not a "low" priority issue with x10hosting
 

caftpx10

Well-Known Member
Messages
1,534
Reaction score
114
Points
63
Both superglobal variables $_SERVER['DOCUMENT_ROOT'] and $_SERVER['REMOTE_ADDR'] are affected by the update, any code that uses any of them may most likely have issues with IP matches, checking and linking files correctly (depending on their use). CMS's seem to have this issue because they of course use these.
As the status says, it is being worked on.

I was wondering if the Apache IP Logger can get the visitor's IP or just the cache server's IP.
 

bdistler

Well-Known Member
Prime Account
Messages
3,534
Reaction score
196
Points
63
Both superglobal variables $_SERVER['DOCUMENT_ROOT'] and $_SERVER['REMOTE_ADDR'] are affected by the update, any code that uses any of them may most likely have issues...
$_SERVER['DOCUMENT_ROOT'] - has a issue on x10hosting's free-hosting server [ xo1 ] -:- which has [ /usr/local/apache/htdocs ]
$_SERVER['REMOTE_ADDR'] - has no issues on all four (4) free-hosting servers
 

caftpx10

Well-Known Member
Messages
1,534
Reaction score
114
Points
63
$_SERVER['DOCUMENT_ROOT'] - has a issue on x10hosting's free-hosting server [ xo1 ] -:- which has [ /usr/local/apache/htdocs ]
$_SERVER['REMOTE_ADDR'] - has no issues on all four (4) free-hosting servers
So they fixed an issue where it would get the cache server IP rather than the request's IP?
 

davenote

New Member
Messages
28
Reaction score
0
Points
1
This problem still exists on server x01. Additionally, "Watched Threads" does not notify of updates via email.
Please update me on status of x01
Thanks,
DaveS
 

davenote

New Member
Messages
28
Reaction score
0
Points
1
Problem solved - X10 Hosting server X01 no longer supports clean url's for Drupal sites.
If you already have Clean URL enabled, you will have to navigate to admin panels by appending "?q=" to your base URL (e.g. - http://<base_url>/?q=admin/config).
Disable Clean URL on the admin/config page and the problem accessing admin pages should be solved.
 

nickwolt41

New Member
Messages
23
Reaction score
2
Points
3
I believe I might have found a potential fix for this particular issue (although I'm on XO3 myself, so it may not work on XO1).

In your .htaccess file (located in the directory that Drupal is installed to) there is the following text (line numbers could be different in your .htaccess, I only added them as a guide as to where to find the text):

Code:
103    # Modify the RewriteBase if you are using Drupal in a subdirectory or in a
104    # VirtualDocumentRoot and the rewrite rules are not working properly.
105    # For example if your site is at http://example.com/drupal uncomment and
106    # modify the following line:
107    # RewriteBase /drupal
108    #
109    # If your site is running in a VirtualDocumentRoot at http://example.com/,
110    # uncomment the following line:
111    # RewriteBase /

As the text suggests, try uncommenting one of the mentioned lines.
For example, if drupal is located at http://[website].x10.mx/drupal uncomment "# RewriteBase /drupal", so it reads "RewriteBase /drupal".
If drupal is located at http://[website].x10.mx/Drupal uncomment "# RewriteBase /drupal" and change "/drupal" to "/Drupal".
If drupal is located at the root of your public_html (so http://[website].x10.mx/), uncomment the "#RewriteBase /" line.


Clean URLs should work again after this change (it did for me). And if you had previously disabled Clean URLs, you should be able to enable it again.
 
Last edited:

leafypiggy

Manager of Pens and Office Supplies
Staff member
Messages
3,819
Reaction score
163
Points
63
This should be resolved now--but @nickwolt41's comment is 100% correct with regard to RewriteBase
 
Status
Not open for further replies.
Top