Discussion Forums  >  Self Hosted Control Panels

Replies: 7    Views: 109

Otatech
Code is Art
Profile
Posts: 80
Reg: Jul 18, 2012
Rome
800
06/26/13 01:16 PM (12 years ago)

php error

In my self host server I get this error when I call a screen: Oops, a PHP error was trapped.File: /web/htdocs/www.otatech.it/home/BT-server/includes/class.Json.php Line: 222 Message: String offset cast occurred I've reinstalled the server, but still get the error. What could be the problem?
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
06/26/13 01:22 PM (12 years ago)
A couple of questions: What is your Host Name? (GoDaddy, HostGator, NetworkSolutions) What PHP version are you using? (4, 5, 5.2, 5.3) What web browser are you using? Are your File Permissions set to 7-5-5? Jake
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
06/26/13 01:23 PM (12 years ago)
My first response would always check your PHP settings (phpinfo) and your permissions. New install? "when" does it give you that error? administrator account? Which screen are you leaving/going to? As much information as you can think of... Cheers! -- Smug
 
Otatech
Code is Art
Profile
Posts: 80
Reg: Jul 18, 2012
Rome
800
like
06/26/13 01:39 PM (12 years ago)
@jake 1. Aruba.it 2. 5.4 3. Firefox and Safari 4. yes they are set 7.5.5 @Smug 1. I get it when I clik on "Theme" and "Layout" on the menu of the top of the panel. The when I go into the properties o f the screens 2. Yes, admin account 3. I'm using many HTML Doc, CircleView List Menu, Thumb Viewer, Blog Pro, Splash Screen, Custom Location Map, BTA Design Menu Thanx for the help
 
Otatech
Code is Art
Profile
Posts: 80
Reg: Jul 18, 2012
Rome
800
like
06/26/13 01:48 PM (12 years ago)
@Smug it's not my first install, I have the self host server since a long time. This morning I got his error (I don't know why): Unable to load dynamic library '/php5.3/lib/php/extensions/imagick.so' - libMagickWand-Q16.so.7: cannot open shared object file: No such file or directory Then I went to my control panel on my provider server and set php to 5.4 (it was 5.3). After a while that error disappeared but I got the one I have now.
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
06/26/13 02:22 PM (12 years ago)
Hi Mariano, This is just a warning (given in php5.4). You can ignore this if everything is working okay. You could also turn of error reporting to get rid if this message. I'm sure future updates of the controlpanel software will correct this issue. See this for a more detailed explanation: http://stackoverflow.com/questions/16697988/php-5-4-string-offset-cast-occurred Hope this helps. Best Regards, Danny
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
06/26/13 03:41 PM (12 years ago)
Nice, Danny. I keep forgetting not all PHP is created equal. Cheers! -- Smug
 
Otatech
Code is Art
Profile
Posts: 80
Reg: Jul 18, 2012
Rome
800
like
06/27/13 12:43 AM (12 years ago)
Thanx to all :-)
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.