7

I've uploaded the files, verified permissions and set up the database. When I run the install, I see the monkey, and I enter in my details. It appears to go well, until a screen showing only: "Oops"

Using Ben Croker's Craft Requirements Checker, I get:

Success

Minimum requirements met. Craft can run on this server!!

The server is running MySQL 5.1.56 with InnoDB, so I believe it's capable of running Craft.

Any advice?

Jim Krenz
  • 71
  • 1
  • 3

1 Answers1

5

The cause of this is most likely an overloaded (very common if this is a shared hosting account) or misconfigured MySQL server.

The installer itself should only take 10-20 seconds on 99% of hosts. However on this one, it sits for about 120 seconds, before Apache redirects the AJAX request to:

'p' => 'internal_error.html',

As seen from your log files. The underlying error is probably being logged in your Apache error logs, but it is most likely something related to a timeout from the long request.

If I try to manually execute the SQL from a database dump that is working, removing Craft from the equation entirely, it does finish in time, but still takes about 45 seconds when it should be done in less than 10.

I'd contact your host and ask them to check on the performance/configuration of your MySQL box.

Brad Bell
  • 67,440
  • 6
  • 73
  • 143
  • Thanks for reporting back Brad! Is it possible to provide information like this on the "Oops" screen? As it stands now, "Oops" isn't very helpful. :) – Lindsey D Aug 01 '14 at 19:50
  • The problem with PHP and fatal errors like this is there isn't a graceful way to recover, much less get any information about the underlying error from PHP. They aren't normal exceptions that can be caught and dealt with in a try/catch block. – Brad Bell Aug 01 '14 at 20:00
  • Fair enough, that makes sense. Thanks for the explanation! – Lindsey D Aug 01 '14 at 22:34
  • I am troubleshooting this with the host, as they are claiming that there aren't any issues with the server that is hosting my database. So, I am not considering this answered as of the moment. – Jim Krenz Aug 02 '14 at 03:36
  • Of course they are. :) Which host is it? – Brad Bell Aug 02 '14 at 04:07
  • Dreamhost. To their credit, their servers run WordPress very well, and even Drupal adequately (and Drupal throws its weight at the database servers a lot). – Jim Krenz Aug 02 '14 at 22:49
  • To reach closure on this: I decided to move on in my research—at this point, I need software that works gracefully on shared hosting.

    The MySQL servers in question aren't overloaded or misconfigured in my experience. They have handled other software installations well—Craft is the only one to date that failed during the installation. My brief experience Craft on my local server didn't inspire me to pursue it further. I'll check in on Craft again in the future, to see its progress. Best of luck with it!

    – Jim Krenz Aug 24 '14 at 17:55