a system level error was encountered trying to validate the form values: error: Internal Server Error

cadberry
@cadberry
11 years ago
78 posts
Hi friends, I got this message after I install Jamroom to my server - I tried creating the first account which would be the admin - but I'm getting this meassge in yellow : a system level error was encountered trying to validate the form values: error: Internal Server Error -
updated by @cadberry: 12/27/13 11:26:23PM
brian
@brian
11 years ago
10,148 posts
This means there is something at your server level (most likely in the .htaccess file) that is not allowed on your server - look in your web server error log and the error message should be present to give us an idea which of the directives is not allowed on your server.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
cadberry
@cadberry
11 years ago
78 posts
(lots of errors snipped)
updated by @cadberry: 11/21/13 04:14:51PM
brian
@brian
11 years ago
10,148 posts
What version of PHP are you running? This error you should not see:

PHP Fatal error: Call to undefined function json_encode() in /usr/local/phpMyAdmin-3.4.9-all-languages/libraries/common.lib.php on line 2954

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
cadberry
@cadberry
11 years ago
78 posts
php 5.3
brian
@brian
11 years ago
10,148 posts
You should never see that error from PHP 5.3.

However I'm not sure that's the problem - when logged in to the ACP do you see anything in the PHP Error Log section of the Activity Log?

We just need to find out what web server configuration is causing the error.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
cadberry
@cadberry
11 years ago
78 posts
Hi friend Brian , I can't create the first account it keeps giving me that message


updated by @cadberry: 11/21/13 05:04:38PM
brian
@brian
11 years ago
10,148 posts
Can you send me your FTP details to brian [at] jamroom [dot] net ? It's going to be hard to find out what your server doesn't like remotely - I will be back in my office in the morning and can check it out and let you know.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
cadberry
@cadberry
11 years ago
78 posts
Hi , ok
cadberry
@cadberry
11 years ago
78 posts
Hi , the hosting company said it's a coding problem - I will try to reinstall It again - also their was a blackhat link in the error logs in the code
brian
@brian
11 years ago
10,148 posts
cadberry:
Hi , the hosting company said it's a coding problem

No surprise there - every hosting company always says that :)

Put it this way - Jamroom cannot create a "500 Internal Server Error" - that error only comes from either a misconfigured web server OR there is a directive in Jamroom's .htaccess file that is not allowed in your server config (the most likely cause).

If you can't figure it out contact me at brian [at] jamroom [dot] net and I can tell you why it is happening.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
cadberry
@cadberry
11 years ago
78 posts
The mcrypt extension is missing. Please check your PHP configuration.
cadberry
@cadberry
11 years ago
78 posts
just sent email to you -
brian
@brian
11 years ago
10,148 posts
cadberry:
The mcrypt extension is missing. Please check your PHP configuration.

Where do you see this at? It's not coming from Jamroom...

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
cadberry
@cadberry
11 years ago
78 posts
in my phpadmin section - for MySQL - I took down the core 5.1.1 - I will reinstall core , but I'll try the 5.02 ? should I use that one instead or stick with the latest version ?
brian
@brian
11 years ago
10,148 posts
No - don't use 5.0.2. Use the very latest 5.1.2 from the site here, although I think you'll run into the same issue - most likely there is either a PHP function or .htacces rule that is not setup or allowed in your server.

Install it and if you see the issue, email me your JR URL and FTP login info and I will see what's up.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
cadberry
@cadberry
11 years ago
78 posts
I can't delete the data folder it's stuck - why can't I delete this folder ?
brian
@brian
11 years ago
10,148 posts
cadberry:
I can't delete the data folder it's stuck - why can't I delete this folder ?

I'm not sure - most likely it is not owned by your user account? Did your hosting provider change permissions on you?


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
cadberry
@cadberry
11 years ago
78 posts
I'm finding out now ?
brian
@brian
11 years ago
10,148 posts
cadberry:
I'm finding out now ?

I'm not sure what you're asking? We aren't your hosting provider...

Sorry!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
cadberry
@cadberry
11 years ago
78 posts
I'm on the phone with my hosting provider now -that's what I mean -
cadberry
@cadberry
11 years ago
78 posts
why do I have to make the permission 777 to work - the hosting company say that's crazy to do - at the most 775 - 777 gets hacked all day -
brian
@brian
11 years ago
10,148 posts
You don't have to do that - all you have to do is make the data dir 777 - all the directories inside should be 755 and owned by the web user.

If your hosting provider is concerned with security, they should be running PHP as a CGI, or using something like RUID2 like I outline in this guide:

https://www.jamroom.net/brian/documentation/guides

this is just basic UNIX file system permissions - if YOU own all the scripts, but the web server is running as another user account, you MUST make the data directory 777 or the web user can't write to it. There's no way around that.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

updated by @brian: 11/22/13 05:07:16PM
brian
@brian
11 years ago
10,148 posts
Actually I want to correct that - the "data" directory does not need to be 777, but the 4 directories inside do:

data/cache
data/logs
data/media
data/config - this can be changed to 755 after install

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
cadberry
@cadberry
11 years ago
78 posts
I just sent my ftp info to brian@jamroom.net - look for autocratmusic.com after www folder
updated by @cadberry: 11/22/13 05:18:36PM
brian
@brian
11 years ago
10,148 posts
Root cause here is that the PHP "ctype" functions have been disabled in your PHP (they are enabled by default, so your hosting provider has purposely disabled them) - Jamroom uses the ctype functions:

http://us2.php.net/manual/en/ctype.installation.php

so those will need to be installed or enabled.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
cadberry
@cadberry
11 years ago
78 posts
Hi Brian - ok i'll have them to enable that function - i thought it might be the ftp binary upload setting - i use auto file transfer - from filezilla to upload the files

-so your said enable ctype function ?

Can i find this in my php.ini file ?
updated by @cadberry: 11/24/13 03:41:17PM
brian
@brian
11 years ago
10,148 posts
Probably not - it won't be there since it has not been added to your PHP, and I don't believe it has a config section in the php.ini file.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
cadberry
@cadberry
11 years ago
78 posts
Hi , So i'll call the hosting company to have them turn it on - I really understand about the hosting companies disabling fucntion that would normally be on --
cadberry
@cadberry
11 years ago
78 posts
Hi, I'll see if Tech support will do it tonight - if not I'll try tommorrow
cadberry
@cadberry
11 years ago
78 posts
Hi Brian, they fix the function but , I couldn't login - said admin already exist - then it said : ( Your account is pending validation - please check your email for the activation link ) I check my email address and there's nothing there - I am deleting and uploading everything again files & mysql
cadberry
@cadberry
11 years ago
78 posts
Hi Brian , something is going wrong here - now it's asying ; Your account is pending validation - please check your email for the activation link.
the email never shows up ? - still can't log in - I seen the successful install message -- ?
brian
@brian
11 years ago
10,148 posts
Sounds like you are installing over top of an old install database - do a clean re-install by going into the database you are install into and deleting (dropping) the existing Jamroom 5 tables. The installer does not delete existing tables, but you need to so you can get that first account created properly.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
cadberry
@cadberry
11 years ago
78 posts
Hi - did and the same problem ?
brian
@brian
11 years ago
10,148 posts
You must not have done it, otherwise you would not get that error - your account would never be pending, since the first account on the system is automatically validated as the master admin account.

Make sure the jr_jruser_item, jr_jruser_item_key, jr_jrprofile_item, jr_jrprofile_item_key and jr_jrprofile_link tables are either DELETED or EMPTY.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
cadberry
@cadberry
11 years ago
78 posts
Hi , I have freshly deleted everything again - and I will try again right now -
cadberry
@cadberry
11 years ago
78 posts
Hi Brian - just refreshed everything - I successfully install : but when I try to create the first account it's keep saying :

a system level error was encountered trying to validate the form values: error: Internal Server Error

I did everything you said to do -

and when I try to login with the info I try to create it says-

Your account is pending validation - please check your email for the activation link.
updated by @cadberry: 11/25/13 05:42:06PM
brian
@brian
11 years ago
10,148 posts
If you are still getting an Internal Server Error then it means we've just run into another issue with your server not being configured to support Jamroom. Look in your data/logs directory for the PHP error log - it will point out the function/feature Jamroom is trying to use that your server does not have - you'll want to get those fixed.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
cadberry
@cadberry
11 years ago
78 posts
Hi Brian - the mod_rewrite is already on -
anything else I should look for
brian
@brian
11 years ago
10,148 posts
This has been going on way too long - your hosting provider should be able to view the error_log and make sure your server is setup properly - we've installed on many, many systems and have not run into the types of issues you are seeing.

You might consider alternate hosting.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
cadberry
@cadberry
11 years ago
78 posts
Wow - I've been with this hosting company since 2004 then I used 4.1.9 in 2008
can't believe this isn't working ?

-Tomorrow I will have this problem resolved - and it's off to uploading hopefully it's really confusing
updated by @cadberry: 11/26/13 06:14:14PM
brian
@brian
11 years ago
10,148 posts
cadberry:
Wow - I've been with this hosting company since 2004 then I used 4.1.9 in 2008
can't believe this isn't working ?

-Tomorrow I will have this problem resolved - and it's off to uploading hopefully it's really confusing

Yeah the root cause of all of these issues have been disabled or non-existent functions in your PHP that should be there - just use the steps I outlined for you in the email and you should be able to fix them one at a time.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
cadberry
@cadberry
11 years ago
78 posts
Hi Brian , all those functions under iconv are all enabled, still having the same problem -

- do you think uploading in binary mode would make a difference ? I use filezilla
brian
@brian
11 years ago
10,148 posts
No - If you are still seeing the same problem, it just means there are more functions that are still not working in your PHP. Like I outlined in the email, you want to:

- delete the data/logs/error_log
- signup as a user
- view the data/logs/error_log file that is created and look for the "Fatal" PHP error - it will tell you the missing functionality you will need to have enabled in your PHP.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
cadberry
@cadberry
11 years ago
78 posts
Hi Brian - this is what I found :

27-Nov-2013 23:02:50 UTC] PHP Fatal error: require_once(): Failed opening required '/home/----/www/autocratmusic.com/skins/jrElastic/include.php' (include_path='.:/usr/local/php5.3/lib/php') in /home/----/www/autocratmusic.com/modules/jrCore/include.php on line 376
updated by @cadberry: 11/27/13 05:18:33PM
michael
@michael
11 years ago
7,746 posts
That error is the server saying: "I need the file /skins/jrElastic/include.php but its not there :("

Tags