Jump to content

Moving site - Internal Server Error


Peter Knight
 Share

Recommended Posts

Hi guys

I have a Test site on a VPS and a Live site on a VPS both running 3.0.33* (see follow up post below) .

Upon moving the test site to the live site, I get a message as follows

Quote

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Error has been logged.

 There's 2 strange behaviours here:

Odd thing 1 

The only error logged in the errors.txt is this:

Quote

2016-09-23 09:16:13    ?   http://www.domain.co.uk/?/  Error:     Class 'ModuleJS' not found (line 3 of /var/www/vhosts/ensoul.co.uk/httpdocs/wire/modules/Jquery/JqueryFancybox/JqueryFancybox.module)

Oddly enough, that file and directory doesn't exist on the working test site either.

 

Odd thing 2

I can get the live site working again by re-importing the database at which point the front end looks and works fine.

However, once I am in the Admin area and browse to, say Setup>Upgrades, the Admin and live site throw the Internal Server Error

 

That's kind of weird right?

P

 

 

 

 

 

Edited by Peter Knight
Updating info
Link to comment
Share on other sites

All working now. Seems to have been a few issues. In case this is helpful to anyone ...

  • Manually download 3.0.33 and manually upload .htaccess, indepx.php and /wire/
  • Login to site and I noticed a few Modules updating
  • I'd over looked that the Live site had  been running 2.X so that was definitely a factor
  • I upgraded PHP on the Live site to a higher version and noticed too that short tags needed to be enabled

All those combined seem to have fixed it.

Luckily I had full backups of everything before I started (phew!).

 

 

  • Like 1
Link to comment
Share on other sites

1 hour ago, Peter Knight said:
  • 1 hour ago, Peter Knight said:

    I upgraded PHP on the Live site to a higher version and noticed too that short tags needed to be enabled

     

     

     

    Is that a setting in the php.ini file?

    Incidentally from which version to which new version were you upgrading PHP to?

 

Link to comment
Share on other sites

Thanks for the info. I think it'll come in handy when I try and attempt to upgrade to PW3. 
Tried a few weeks ago, and I had plenty of issues because I'm using Wire(xxx) instead of $this->wire(xxx) in many places, so I rolled back.

I also did noticed a manual install resulted in some modules upgrading itself.

I use PHPStorm but I haven't been able to get XDebug working with PHP 5.6.
I wonder if the Short Tag Enabling is a factor in it.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...