Author Topic: 1.5.1 - 'Fatal error: Internal zval's can't be arrays..' appears on random basis  (Read 6556 times)

samuel.kroslak

  • Newbie
  • *
  • Posts: 13
    • View Profile
Hello,

I've just made a fresh installation of og 1.5.1 and after everything went fine, I logged into og and just browsed through the sections of og. However, I can see there errors like this one:

Code: [Select]
{"contents":{},"current":{"type":"panel","data":"files","actions":null,"config":null,"makeDefault":true},"errorCode":0,"errorMessage":"","scripts":["http:\/\/kroslak.sk\/goo\/public\/assets\/javascript\/og\/FileManager.js"],"replace":true,"events":[]}
Fatal error: Internal zval's can't be arrays, objects or resources in Unknown on line 0

I turned on debug mode, but it has no effect on this error.

This particular error showed up when I clicked on "Email" tab. It disappears after clicking on other tabs, but once in a while it appears again at random basis. It also appears on "Documents" tab... 

I'll provide more info if needed

samuel.kroslak

  • Newbie
  • *
  • Posts: 13
    • View Profile
whoa, now my entire OG installation crashed down with style :)
my http://<OG root>/ returns this>
<br />
<b>Fatal error</b>:  Internal zval's can't be arrays, objects or resources in <b>Unknown</b> on line <b>0</b><br />

I'm trying to debug it and see what's happening...

edit: now it's working (I misspelled my default language in config.php), I cleared cash folder and relaunched. But the problem is still here, now I see it affects Translator tool too!
(in goo/public/tools the same fatal error is shown just below the menu right in html)
« Last Edit: August 10, 2009, 05:48:01 am by samuel.kroslak »

samuel.kroslak

  • Newbie
  • *
  • Posts: 13
    • View Profile
well, it certainly is showing up every once in a while. It's located on totally random page within OG, even inside the Administration pages. When page is rendering, I can see something like this:
Code: [Select]
{"contents":{},"current":{"type":"html","data":"\n
\n\t
\n\t\t
Configuration<\/div>\n\t<\/div>\n\t
<\/div>\n\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t
General<\/a><\/h2>\n\t\t\t\t\t\t\t\t\t\t\t
General OpenGoo settings.<\/div>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t
Mailing<\/a><\/h2>\n\t\t\t\t\t\t\t\t\t\t\t
Use these settings to set up how OpenGoo should handle email sending. You can use configuration options provided in your php.ini or set it so it uses any other SMTP server.<\/div>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t
Modules<\/a><\/h2>\n\t\t\t\t\t\t\t\t\t\t\t
Use these settings to enable or disable OpenGoo modules. Disabling a module only hides it from the graphical interface. It doesn't remove permissions from users to create or edit content objects.<\/div>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t
Passwords<\/a><\/h2>\n\t\t\t\t\t\t\t\t\t\t\t
Use these settings to manage password options.<\/div>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t
\n\t\t\t
Default user preferences<\/a><\/h2>\n\t\t\t
Choose the default values for user preferences. This values apply when the user hasn't chosen a value for an option yet.<\/div>\n\t\t<\/div>\n\t<\/div>\n<\/div>","actions":null,"config":"administration","makeDefault":null,"panel":"administration","url":"index.php?&active_project=2&ajax=true&c=administration&a=configuration&current=administration&_dc=1250096007862&current=administration&_dc=1250096011839"},"errorCode":0,"errorMessage":"","events":[]}
Fatal error: Internal zval's can't be arrays, objects or resources in Unknown on line 0

ignacio

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
All of those errors are because of the "Fatal error: Internal zval's can't be arrays, objects or resources in Unknown on line 0" error. But I never heard of such an error. What version of PHP are you using?

samuel.kroslak

  • Newbie
  • *
  • Posts: 13
    • View Profile
ouch, I've just discovered this OG is running under MS IIS instead of Apache  :(
In a readme.txt to OG I read that recommended is Apache, so I'll have to move it to Apache in a few days and try again...

Pet

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 638
  • Always mining for solutions!
    • View Profile
    • The Bet!
I'm running on IIS just fine if it helps
Support OpenGoo - Sponsor a Feature! | Follow me on Twitter | OG Support Chat | Did you turn debugging on?

samuel.kroslak

  • Newbie
  • *
  • Posts: 13
    • View Profile
I'm running on IIS just fine if it helps

I already moved my installation (it's testing anyway) to Apache on linux, so the problem is gone. I already deployed 1.5.2, it's working like a charm.
anyway, thanks for reply Pet!

Pet

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 638
  • Always mining for solutions!
    • View Profile
    • The Bet!
np, glad you got it working

cheers
Support OpenGoo - Sponsor a Feature! | Follow me on Twitter | OG Support Chat | Did you turn debugging on?