500 Internal Server Error SMF Webinstall.php

Status
Not open for further replies.

sharwanr42

New Member
Messages
11
Reaction score
0
Points
0
Hello,
Well I uploaded the webinstall.php of SMF via FTP. When I try to access the file to install it on the hosting, it says, 500 Internal Server Error. I refreshed, cleared cache, re-uploaded the file, everything. Nothing worked. Any ideas?
 

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
Hello,

Did the package include a .htaccess file? If so, please post it. If using cPanel file manager you'll need to enable the viewing of dotfiles to see it.
Also, please verify that directories/files are not CHMOD 777. Generally, directories should be 755 and files 644.
 

Livewire

Abuse Compliance Officer
Staff member
Messages
18,169
Reaction score
216
Points
63
Also, try to AVOID using the Web Installer, which is all I see present on your account in the forum subfolder. The web installer will quite likely fail-out due to the High Resource Usage restrictions, as it'll take some time to download it from their site.

You'll be better off if you download the zip file, upload it, and extract it from cpanel's file manager, as it won't have to burn time and cpu to do the download part of it. It should also avoid any random 500 ISE's as it won't be trying to do things that are blocked by the php configuration.
 
Last edited:

sharwanr42

New Member
Messages
11
Reaction score
0
Points
0
Hello,

Did the package include a .htaccess file? If so, please post it. If using cPanel file manager you'll need to enable the viewing of dotfiles to see it.
Also, please verify that directories/files are not CHMOD 777. Generally, directories should be 755 and files 644.
The package does NOT include anything except a websintall.php file. Its an installer. And I'm using FTP, not the file manager. I use it on FileZilla. Also, as stpvoice said, I'll try using the complete package and get you with the reports.

And I guess free hosting includes unlimited bandwidth and hence the usage of the term "high CPU usage" or "high bandwidth" are misleading.

Also, I'm not using the one click installer from the CPanel(Softwares), since all of those SMF are not updated, as in not 2.0, they're 1.1.13.

The .htaccess file has nothing
And error_log file contains this:

text/x-generic error_log
ASCII text

Code:
[17-Jun-2011 07:43:13] PHP Notice:  Undefined index:  access in /home/gtamp/public_html/forum/webinstall.php on line 1319
[17-Jun-2011 07:43:13] PHP Warning:  in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in /home/gtamp/public_html/forum/webinstall.php on line 1319
[17-Jun-2011 07:43:13] PHP Notice:  Undefined index:  access in /home/gtamp/public_html/forum/webinstall.php on line 1319
[17-Jun-2011 07:43:13] PHP Warning:  in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in /home/gtamp/public_html/forum/webinstall.php on line 1319
[17-Jun-2011 09:09:58] PHP Notice:  Undefined index:  access in /home/gtamp/public_html/forum/webinstall.php on line 1319
[17-Jun-2011 09:09:58] PHP Warning:  in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in /home/gtamp/public_html/forum/webinstall.php on line 1319
[17-Jun-2011 09:09:58] PHP Notice:  Undefined index:  access in /home/gtamp/public_html/forum/webinstall.php on line 1319
[17-Jun-2011 09:09:58] PHP Warning:  in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in /home/gtamp/public_html/forum/webinstall.php on line 1319
 
Last edited:

Livewire

Abuse Compliance Officer
Staff member
Messages
18,169
Reaction score
216
Points
63
Resource Usage only counts CPU/Ram; the bandwidth -is- unmetered.

However, just cause bandwidth is unmetered doesn't mean a script can use all of the available cpu for an indefinite amount of time either, or scripts like TorrentFlux would kill the servers within about 2 seconds.
 

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
The package does NOT include anything except a websintall.php file. Its an installer. And I'm using FTP, not the file manager. I use it on FileZilla. Also, as stpvoice said, I'll try using the complete package and get you with the reports.

And I guess free hosting includes unlimited bandwidth and hence the usage of the term "high CPU usage" or "high bandwidth" are misleading.

I'm not familiar with SMF and assumed it was the "install" script you were referring to. Apologies.
 

sharwanr42

New Member
Messages
11
Reaction score
0
Points
0
Well I just uploaded all the files of SMF. I checked that no directory has 0777 CHMOD. I added mysql Databases correctly and they work. Well the installation was working fine until the last step, "Finalizing"(Step 5). This step leads to the 500 Internal error again. I tried waiting for 10 mins and tried, no use.

Also the .htaccess file is empty in the parent folder.

Note: Finalizing Step is the final step and all the forum configurations(MySQL Setup, Admin Accounts, Dumping Data, etc) are done already in previous ones.

EDIT: Issue solved. I was able to install correctly. Still wondering why there was that 500 Internal Problem at the end. Would that error still continue during the usage of the forum?
 
Last edited:

Livewire

Abuse Compliance Officer
Staff member
Messages
18,169
Reaction score
216
Points
63
Looks like it may have been fixing itself, cause I don't get a 500 ISE when I go to the forum directory. It's showing me a generic starting SMF forum with 1 board and 1 automatic-post from the SMF crew saying "Welcome to SMF!"
 

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
Hello,

The 500 error should not happen during normal use. If it does there is likely a configuration error somewhere.
 

sharwanr42

New Member
Messages
11
Reaction score
0
Points
0
Well thanks, but I again encounter 500 Internal Server when I'm trying to install a theme or a mod. All are on 755. Do I need to change to 777? If no, can I use 775? If not, please let me know what do I do.
 
Status
Not open for further replies.
Top