Jump to content

Recommended Posts

Posted

You have a custom admin directory in place. Please ensure that you rename the admin directory in the download from the Client Area before uploading to your server or upload the contents of the admin directory from the download to your custom admin directory.

Posted (edited)
10 minutes ago, Jim M said:

You have a custom admin directory in place. Please ensure that you rename the admin directory in the download from the Client Area before uploading to your server or upload the contents of the admin directory from the download to your custom admin directory.

I wondered if it might be to do with this but I don't think that is where my current live forum is located, I think that was set up years ago when converting from another platform, I just tried uploading the contents of the admin folder but still same errors.

Edited by Maxwellshouse
Posted

Based on the screenshot you posted above your admin folder is renamed house. You won't get past that error unless you rename the admin folder to the same house name before uploading it.

 

Or you can remove the constant to rename the admin folder in the constants.php file and use the default admin value. The option to rename the folder has been removed from v5, so you'll have to rename it back to admin in a future upgrade regardless.

Posted

It looks like I have two lots of directories now so when I visit the upgrader in "house" I get the option of a fresh install and the one in "forum" is the correct UPGRADE is this causing the problem ?  would it work / be safe to delete the "house" and contents  ?  I think this was created years ago when converting 

Posted

Just to be sure, do you have a file named constants.php in your forum's root folder?

If yes, does it contain a line like this?

\define( 'CP_DIRECTORY', 'house' );

 

If it does, your folder is indeed renamed, so for the upgrade rather than /admin/upgrade you should go to /house/upgrade instead.

If you don't have that line, I can't explain why the upgrader is looking for files inside the /house/ folder.

Posted
1 hour ago, Maxwellshouse said:

I wondered if it might be to do with this but I don't think that is where my current live forum is located, I think that was set up years ago when converting from another platform, I just tried uploading the contents of the admin folder but still same errors.

Make sure you’re uploading files correctly as you have files in a few places. 

Posted
48 minutes ago, teraßyte said:

Just to be sure, do you have a file named constants.php in your forum's root folder?

If yes, does it contain a line like this?

\define( 'CP_DIRECTORY', 'house' );

 

If it does, your folder is indeed renamed, so for the upgrade rather than /admin/upgrade you should go to /house/upgrade instead.

If you don't have that line, I can't explain why the upgrader is looking for files inside the /house/ folder.

yes thats exactly what I have 

Posted
7 hours ago, Jim M said:

Make sure you’re uploading files correctly as you have files in a few places. 

Is that whats cain the problem ? what do I need to do to fix it as my site is inaccessible

I really appreciate all the help and advice  

Posted
1 hour ago, Maxwellshouse said:

Is that whats cain the problem ? what do I need to do to fix it as my site is inaccessible

You can do either this:

10 hours ago, Jim M said:

Please ensure that you rename the admin directory in the download from the Client Area before uploading to your server or upload the contents of the admin directory from the download to your custom admin directory.

Or this:

9 hours ago, teraßyte said:

so for the upgrade rather than /admin/upgrade you should go to /house/upgrade instead.

i.e. rename the admin folder back to admin or point your browser to your custom admin folder to run the upgrader.

Posted
1 hour ago, Miss_B said:

You can do either this:

Or this:

i.e. rename the admin folder back to admin or point your browser to your custom admin folder to run the upgrader.

Thanks again for all the help, there was already another older Admin folder so I opted to rename the admin folder in the download and re-upload which seemed to work so far, I was able to start the upgrade with no errors, the upgrade status bar flashed up and now it's stuck on a blank page, if I return to the loader it says unfinished upgrade  if I resume I get the same blank page but I notice the browser address ends in mr_error=1 is that normal ? does it just need time to complete or is it stuck ?

Posted
47 minutes ago, Maxwellshouse said:

Thanks again for all the help, there was already another older Admin folder so I opted to rename the admin folder in the download and re-upload which seemed to work so far, I was able to start the upgrade with no errors, the upgrade status bar flashed up and now it's stuck on a blank page, if I return to the loader it says unfinished upgrade  if I resume I get the same blank page but I notice the browser address ends in mr_error=1 is that normal ? does it just need time to complete or is it stuck ?

Can you check your server error log and see what messages are logged in there recently? That would help in diagnosing the issue, because a blank page doesn't tell us anything on the cause of the error.

Posted
7 minutes ago, Miss_B said:

Can you check your server error log and see what messages are logged in there recently? That would help in diagnosing the issue, because a blank page doesn't tell us anything on the cause of the error.

maxwellshouse.co.uk [Mon Dec 23 00:05:16 2024] [error] [client 85.198.105.99:0] AH01797: client denied by server configuration: /home/sites/99b/5/58fe60a87a/public_html/forum/index.php
maxwellshouse.co.uk [Mon Dec 23 06:17:15 2024] [error] [client 178.129.73.49:0] AH01797: client denied by server configuration: /home/sites/99b/5/58fe60a87a/public_html/forum/index.php
maxwellshouse.co.uk [Mon Dec 23 09:25:22 2024] [error] [client 87.242.123.219:0] AH01797: client denied by server configuration: /home/sites/99b/5/58fe60a87a/public_html/forum/uploads/monthly_04_2008/post-372-13529206524002.jpg
maxwellshouse.co.uk [Mon Dec 23 11:51:49 2024] [error] [client 185.191.171.18:0] AH01067: Failed to read FastCGI header
maxwellshouse.co.uk [Mon Dec 23 11:51:49 2024] [error] [client 185.191.171.18:0] AH01075: Error dispatching request to :

Posted (edited)
36 minutes ago, Maxwellshouse said:

client denied by server configuration

If you are using Apache 2.4 you have to check allow and deny rules. Have a look at the following link:

http://httpd.apache.org/docs/2.4/upgrading.html#access

Also make sure that the DocumentRoot path is correct. 

 

36 minutes ago, Maxwellshouse said:

maxwellshouse.co.uk [Mon Dec 23 11:51:49 2024] [error] [client 185.191.171.18:0] AH01067: Failed to read FastCGI header

This error can be caused by several factors, such as a  faulty third party app or theme or a custom php exctension that you have installed might be broken. Or it can also be caused if the server RAM is running out.

36 minutes ago, Maxwellshouse said:

maxwellshouse.co.uk [Mon Dec 23 11:51:49 2024] [error] [client 185.191.171.18:0] AH01075: Error dispatching request to :

It looks like the php code is taking longer than the configured timeout to complete and it exceeds the currently configured default timeout limit. Increasing the PHP timeout limit should fix this imo. 

Edited by Miss_B
Posted
2 hours ago, Miss_B said:

If you are using Apache 2.4 you have to check allow and deny rules. Have a look at the following link:

http://httpd.apache.org/docs/2.4/upgrading.html#access

Also make sure that the DocumentRoot path is correct. 

 

This error can be caused by several factors, such as a  faulty third party app or theme or a custom php exctension that you have installed might be broken. Or it can also be caused if the server RAM is running out.

It looks like the php code is taking longer than the configured timeout to complete and it exceeds the currently configured default timeout limit. Increasing the PHP timeout limit should fix this imo. 

the host is unable to increase the PHP timeout as already set to 300 seconds

the tech support from y host tried running the upgrader also and can't see whats causing the issue but did see this error loading message for a brief second

image.png.401bba89a816b8be71feaa6178b608ec.png

Posted

Unfortunately, the page is blank for myself. Nothing is running or rendering on the page. This is a sign of a suppressed PHP error. You will want to check your error logs for PHP for more info or ensure that your PHP ini has it set to temporarily to display errors on page if logging is not enabled.

Posted
24 minutes ago, Jim M said:

Unfortunately, the page is blank for myself. Nothing is running or rendering on the page. This is a sign of a suppressed PHP error. You will want to check your error logs for PHP for more info or ensure that your PHP ini has it set to temporarily to display errors on page if logging is not enabled.

response from host - PHP errors are currently enabled, and when running the upgrade I couldn't see any errors other than what was shown in my screenshot

Posted

Unfortunately, the display_errors is set to false, if it's a blank page still. If they are logging them, they would need to get that for you from a log.

Posted
34 minutes ago, Jim M said:

Unfortunately, the display_errors is set to false, if it's a blank page still. If they are logging them, they would need to get that for you from a log.

maxwellshouse.co.uk [Mon Dec 23 06:17:15 2024] [error] [client 178.129.73.49:0] AH01797: client denied by server configuration: /home/sites/99b/5/58fe60a87a/public_html/forum/index.php
maxwellshouse.co.uk [Mon Dec 23 09:25:22 2024] [error] [client 87.242.123.219:0] AH01797: client denied by server configuration: /home/sites/99b/5/58fe60a87a/public_html/forum/uploads/monthly_04_2008/post-372-13529206524002.jpg
maxwellshouse.co.uk [Mon Dec 23 11:51:49 2024] [error] [client 185.191.171.18:0] AH01067: Failed to read FastCGI header
maxwellshouse.co.uk [Mon Dec 23 11:51:49 2024] [error] [client 185.191.171.18:0] AH01075: Error dispatching request to : 
maxwellshouse.co.uk [Mon Dec 23 12:17:43 2024] [error] [client 90.188.247.214:0] AH01797: client denied by server configuration: /home/sites/99b/5/58fe60a87a/public_html/forum/index.php
maxwellshouse.co.uk [Mon Dec 23 12:35:39 2024] [error] [client 87.242.123.219:0] AH01797: client denied by server configuration: /home/sites/99b/5/58fe60a87a/public_html/forum/uploads/monthly_01_2018/post-8-15164011463087.jpg
maxwellshouse.co.uk [Mon Dec 23 14:25:17 2024] [error] [client 185.146.164.254:0] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Error: Undefined constant "IPS\\RECOVERY_MODE" in /home/sites/99b/5/58fe60a87a/public_html/forum/house/upgrade/upgradeStarted.php:70\nStack trace:\n#0 {main}\n  thrown in /home/sites/99b/5/58fe60a87a/public_html/forum/house/upgrade/upgradeStarted.php on line 70'
maxwellshouse.co.uk [Mon Dec 23 14:26:09 2024] [error] [client 185.146.164.254:0] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Error: Undefined constant "IPS_FILE_PERMISSION" in /home/sites/99b/5/58fe60a87a/public_html/forum/house/upgrade/extractCic.php:122\nStack trace:\n#0 /home/sites/99b/5/58fe60a87a/public_html/forum/house/upgrade/extractCic.php(178): writeLogFile(Object(Exception))\n#1 {main}\n  thrown in /home/sites/99b/5/58fe60a87a/public_html/forum/house/upgrade/extractCic.php on line 122'
maxwellshouse.co.uk [Mon Dec 23 14:36:19 2024] [error] [client 185.146.164.254:0] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Error: Undefined constant "IPS\\RECOVERY_MODE" in /home/sites/99b/5/58fe60a87a/public_html/forum/house/upgrade/upgradeStarted.php:70\nStack trace:\n#0 {main}\n  thrown in /home/sites/99b/5/58fe60a87a/public_html/forum/house/upgrade/upgradeStarted.php on line 70'
maxwellshouse.co.uk [Mon Dec 23 15:56:34 2024] [error] [client 46.188.122.185:0] AH01797: client denied by server configuration: /home/sites/99b/5/58fe60a87a/public_html/forum/index.php
maxwellshouse.co.uk [Mon Dec 23 16:01:19 2024] [error] [client 5.189.83.254:0] AH01797: client denied by server configuration: /home/sites/99b/5/58fe60a87a/public_html/forum/index.php

Posted

The "house" folder is your custom Admin folder but you have a whole iteration of the software suite files in there. You will want to delete it all and only upload the contents of the admin folder from the download files from the Client Area there.

Posted
59 minutes ago, Jim M said:

The "house" folder is your custom Admin folder but you have a whole iteration of the software suite files in there. You will want to delete it all and only upload the contents of the admin folder from the download files from the Client Area there.

I deleted the house folder from the server, renamed Admin to Hose in the download files and loaded it again, just tried re-running the upgrader and still the same problem

 

here's the latest error log

maxwellshouse.co.uk [Mon Dec 23 18:04:45 2024] [error] [client 200.164.85.245:0] AH01276: Cannot serve directory /home/sites/99b/5/58fe60a87a/public_html/forum/house/: No matching DirectoryIndex (index.php,index.html,index.htm,index.cgi,index.rb,index.py) found, and server-generated directory index forbidden by Options directive

Posted
10 minutes ago, Maxwellshouse said:

maxwellshouse.co.uk [Mon Dec 23 18:04:45 2024] [error] [client 200.164.85.245:0] AH01276: Cannot serve directory /home/sites/99b/5/58fe60a87a/public_html/forum/house/: No matching DirectoryIndex (index.php,index.html,index.htm,index.cgi,index.rb,index.py) found, and server-generated directory index forbidden by Options directive

Make sure you uploaded the contents of admin directory. You’re missing files. 

Posted
1 hour ago, Maxwellshouse said:

I deleted the house folder from the server, renamed Admin to Hose in the download files and loaded it again, just tried re-running the upgrader and still the same problem

I think that you are uploading the files in the wrong directory. From the above quoted message your admin directory now resides inside the folder called: Hose. But having a look at the error message quoted below, it looks like you are trying to run the upgrader from a folder called: house. 

1 hour ago, Maxwellshouse said:

maxwellshouse.co.uk [Mon Dec 23 18:04:45 2024] [error] [client 200.164.85.245:0] AH01276: Cannot serve directory /home/sites/99b/5/58fe60a87a/public_html/forum/house/: No matching DirectoryIndex (index.php,index.html,index.htm,index.cgi,index.rb,index.py) found, and server-generated directory index forbidden by Options directive

You should upload the files inside the correct folder. What method are you using to upload the files btw?

Posted
1 hour ago, Miss_B said:

I think that you are uploading the files in the wrong directory. From the above quoted message your admin directory now resides inside the folder called: Hose. But having a look at the error message quoted below, it looks like you are trying to run the upgrader from a folder called: house. 

You should upload the files inside the correct folder. What method are you using to upload the files btw?

these folders weren't created by myself so I'm not sure which is which. there was an Admin folder inside House however I deleted it as per Jim's instructions above and uploaded the contents of the new Admin downloaded file into House using FileZilla

  • Recently Browsing   0 members

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