Announcement

Collapse
No announcement yet.

Cannot redeclare function sc_unserialize()

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cannot redeclare function sc_unserialize()

    first time i have encountered this message after 6 months of using SC... working on adding new menu items when it occurred.
    tried deleting entire "menu" structure and re-building, that did not work. even deleted all other 'applications' except the one i am working on, that still does not solve this issue. i have referred to other similar posts.

    Fatal error: Cannot redeclare function sc_unserialize() (previously declared in /Applications/NetMake/v71/wwwroot/SCRIPTCASE/devel/lib/php/sc_unserialize.php:9). If this code worked without the Zend Optimizer+, please set zend_optimizerplus.dups_fix=1 in your ini file in /Applications/NetMake/v71/wwwroot/SCRIPTCASE/devel/generator/nm_gp_gera_menu.php on line 136

    zend_optimizerplus.dups_fix=1 in your ini (what/where ini file?)

    /Applications/NetMake/v71/wwwroot/SCRIPTCASE/devel/generator/nm_gp_gera_menu.php on line 136 (the code is encrypted)

    OK PHP: 5.4.16
    OK Hostname: Johns-MacBook-Pro.local
    OK Zend: 3.3
    OK OS: DARWIN JOHNS-MACBOOK-PRO.LOCAL 13.1.0 DARWIN KERNEL VERSION 13.1.0: WED APR 2 23:52:02 PDT 2014; ROOT:XNU-2422.92.1~2/RELEASE_X86_64 X86_64
    OK WEB Server: Apache/2.2.23 (Unix) PHP/5.4.16 mod_ssl/2.2.23 OpenSSL/0.9.8x
    ScriptCase Devel: 7.1.021
    ScriptCase Build: 7
    ScriptCase Prod: 7.1.021

  • #2
    IF you create a new project and app, does this generate the same issue? I'm not sure if this is a bug or some kind of corruption.
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      Hello,

      I will verify the issue with our bugs team. But I strongly recommend you to get in touch with our support team.

      regards,
      Bernhard Bernsmann

      Comment


      • #4
        Originally posted by johnweimer View Post
        first time i have encountered this message after 6 months of using SC... working on adding new menu items when it occurred.
        tried deleting entire "menu" structure and re-building, that did not work. even deleted all other 'applications' except the one i am working on, that still does not solve this issue. i have referred to other similar posts.

        Fatal error: Cannot redeclare function sc_unserialize() (previously declared in /Applications/NetMake/v71/wwwroot/SCRIPTCASE/devel/lib/php/sc_unserialize.php:9). If this code worked without the Zend Optimizer+, please set zend_optimizerplus.dups_fix=1 in your ini file in /Applications/NetMake/v71/wwwroot/SCRIPTCASE/devel/generator/nm_gp_gera_menu.php on line 136

        zend_optimizerplus.dups_fix=1 in your ini (what/where ini file?)

        /Applications/NetMake/v71/wwwroot/SCRIPTCASE/devel/generator/nm_gp_gera_menu.php on line 136 (the code is encrypted)

        OK PHP: 5.4.16
        OK Hostname: Johns-MacBook-Pro.local
        OK Zend: 3.3
        OK OS: DARWIN JOHNS-MACBOOK-PRO.LOCAL 13.1.0 DARWIN KERNEL VERSION 13.1.0: WED APR 2 23:52:02 PDT 2014; ROOT:XNU-2422.92.1~2/RELEASE_X86_64 X86_64
        OK WEB Server: Apache/2.2.23 (Unix) PHP/5.4.16 mod_ssl/2.2.23 OpenSSL/0.9.8x
        ScriptCase Devel: 7.1.021
        ScriptCase Build: 7
        ScriptCase Prod: 7.1.021

        Hi,

        I have exactly the same problem as you. Since I have updated to version 8, I cannot generate forms or menus anywhore without getting this error message. It does not do it with grids. Have you found out where it came from on your side? Your help would very much appreciated since I have wasted already a large amount of time on this bug!

        Comment

        Working...
        X