I'm not sure if this is the place to post this. I'm learning about Drupal as I go.
I am trying to install themes for 4 different drupal 7.15 installs, and I get the same error messages. None of the themes installed.
The steps are:
- Used ipage.com simplescripts to install Drupal 7.15.
- Added php.ini with the following script:
register_globals = off - Login
- Clicked on "Modules" and enabled "Update manager"
- Clicked on "Appearance" and clicked on "Install new theme"
- Copied FTP link to drupal theme and pasted in "Install from a URL" field. OR Downloaded theme and browsed to file in "Upload a module or theme archive to install" field.
- "Page not found | The requested page "/authorize.php?batch=1&op=start&id=9" could not be found."
I have uninstalled (included changed permissions to delete the remaining files and starting with a fresh database), and reinstalled drupal for all 4 sites. Same error produced.
I did some research an found some people had issues with the authorize.php on line 120. My authorize.php has this at line 120.
// See if we've run the operation and need to display a report.
if (isset($_SESSION['authorize_results']) && $results = $_SESSION['authorize_results']) {
I'm not sure what was, or wasn't, suppose to be there.
I checked the log messages and I have the following info. I've use "(sitename)" to save me from repeating for each site.
Type: Page Not Found
Date: 8/22/2012
Location: http://(sitename)/authorize.php?batch=1&op=start&id=6
Referrer: (sitename)
Message: Authorize.php
The id=# increases with each attempt.
The referrer alternates between the following for the same steps in all 4 installs, and within the same site.
Refferrer: http://(sitename)/admin/reports/event/62?render=overlay
Referrer: http://(sitename)/admin/modules/install
After getting the overlay message I did some research and tried to install with the overlay off, I still got the same message.
Hopefully I've given enough info!
Comments
Comment #1
campbjp commentedComment #2
Leeteq commentedI have no problems installing themes on 7.15, and this issue seems to be related to authorize.php, not the theme function.
Not sure your problem is specifically related to 7.15, moving to the support queue for 7.x.
Try browsing through some of the results when searching google like this:
"authorize.php" "not found" drupal
Comment #3
campbjp commentedWhat's crazy is it was working for a while then stopped on all 4 installs at the same time. So I uninstalled all 4 Drupal installs completely, then reinstalled them using simple scripts. From that point on they wouldn't install. I talked to support for iPage and they found it was the Drupal. Search as I might, I can't seem to find anything with an answer, just people asking the same question.
I've found solutions for folks who could install, but couldn't enable; but my problem is I can enable if I install the themes manually, but I can't get Drupal to to actually install them.
My permissions for the module directory is at 755, but even when I changed it to 775 it didn't work.
My update manager is on, the button to install themes and modules wouldn't show up till I activated it.
I'm still looking, if I find the solution I will share it. In the mean time I may go bald from pulling my hair out. :)
Comment #4
campbjp commentedOK, so I figured it out.
While Drupal asks you to turn the register globals off, if you do it in a php.ini file you won't be able to use the install modules/themes button. I tested this out on 3 installs so far.
I'm not sure where the register globals script should go, but php.ini didn't work.
Comment #5
campbjp commentedIt's me again. This may be common knowledge for some, but for me it wasn't.
The problem I was having that I have multiple websites running of of the same server, and I didn't want to put the php.ini in the root since that would affect all sites, including non-drupal sites. I created a directory for all of my drupal sites so that I could, in essence, put the php.ini in a root directory. Then had the drupal directorys off of it.
Bottom line, don't put the php.ini in the directory your site is located on, put it in the directory the site directory is in.
Ex.
(host)/(root)/site(drupal install) you put it in the (root).
Hope this helps prevent someone else from questioning their sanity! It's too late for me. :)
Comment #6
stephen.punwasi commentedlol, thanks for saving my sanity. Haven't tried this but appreciate when people update how they solved their problem.
Comment #6.0
stephen.punwasi commentedlinked to similar post; but was for an update, not new install.