1.7 testing errors [bundled thread]

Found a bug? Tell us!!
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

1.7 testing errors [bundled thread]

Post by Timbalu »

garvinhicking wrote:Habe in den master mal nen testfix für spartacus committed. gzip error sagt mir nix.
Timbalu wrote:Ich habe ... mit PHP 5.4.4 das master installiert und gleich zwei Fehlermeldungen bekommen.
Das eine ging über die empfohlene Gzip Kompression im Frontend, die andere ging über Spartacus beim Event Plugin installieren - was nicht mehr geht, da nicht mehr alle abgerufen werden.

Code: Select all

 == TESTING ERROR MODE ==

Array
(
    [0] => 2
    [1] => Illegal string offset 'tag'
    [2] => /var/www/virtual/testwww/html/serendipity/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php
    [3] => 729
    [4] => Array
        (
            [tree] => Array
                (
                    [0] => Array
                        (
                            [tag] => packages
                            [attributes] => 
                            [value] => 
                            [children] => Array
                                (
                                    [0] => Array
                                        (
                                            [tag] => package
                                            [attributes] => Array
                                                (
                                                    [version] => 1.0
                                                )

                                            [value] => 

                                            [children] => Array ....
Kannst du das mal durchchecken?
Danke
Nee, Garvin
Das reicht leider noch nicht... jetzt wechselt die Zeile...

Code: Select all

Fatal error:  Uncaught exception 'ErrorException' with message 'Serendipity error: Illegal string offset 'tag'' in /var/www/virtual/testwww/html/serendipity/include/compat.inc.php:108
Stack trace:
#0 /var/www/virtual/testwww/html/serendipity/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php(768): errorToExceptionHandler(2, 'Illegal string ...', '/var/www/virtua...', 768, Array)
#1 /var/www/virtual/testwww/html/serendipity/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php(1143): serendipity_event_spartacus->buildList(Array, 'event')
#2 /var/www/virtual/testwww/html/serendipity/include/plugin_api.inc.php(1073): serendipity_event_spartacus->event_hook('backend_plugins...', Object(serendipity_property_bag), Array, NULL)
#3 /var/www/virtual/testwww/html/serendipity/include/admin/plugins.inc.php(196): serendipity_plugin_api::hook_event('backend_plugins...', Array)
#4 /var/www/virtual/testwww/html/serendipity/serendipity_admin.php(145): include('/var/www/virtua...')
#5 {main}
  thrown in /var/www/virtual/testwww/html/serendipity/include/compat.inc.php on line 108
Der gzip error entstand dadurch, dass ich die erweiterte Installation genommen habe und gleich die empfohlene GZIP Kompression auf "JA" eingestellt habe.

Code: Select all

Fatal error:  Uncaught exception 'ErrorException' with message 'Serendipity error: ob_start(): output handler 'ob_gzhandler' conflicts with 'zlib output compression'' in /var/www/virtual/testwww/html/serendipity/include/compat.inc.php:108
Stack trace:
#0 [internal function]: errorToExceptionHandler(2, 'ob_start(): out...', '/var/www/virtua...', 68, Array)
#1 /var/www/virtual/testwww/html/serendipity/include/functions.inc.php(68): ob_start('ob_gzhandler')
#2 /var/www/virtual/testwww/html/serendipity/index.php(637): serendipity_gzCompression()
#3 {main}
  thrown in /var/www/virtual/testwww/html/serendipity/include/compat.inc.php on line 108
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: 1.7 testing errors [bundled thread]

Post by garvinhicking »

Hi!

Tried to patch up spartacus once more. I cannot try it on my installation yet.

About gzip - I have never used that. Can't help with this one.

Regards,
Garvin
Timbalu wrote:
garvinhicking wrote:Habe in den master mal nen testfix für spartacus committed. gzip error sagt mir nix.
Timbalu wrote:Ich habe ... mit PHP 5.4.4 das master installiert und gleich zwei Fehlermeldungen bekommen.
Das eine ging über die empfohlene Gzip Kompression im Frontend, die andere ging über Spartacus beim Event Plugin installieren - was nicht mehr geht, da nicht mehr alle abgerufen werden.

Code: Select all

 == TESTING ERROR MODE ==

Array
(
    [0] => 2
    [1] => Illegal string offset 'tag'
    [2] => /var/www/virtual/testwww/html/serendipity/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php
    [3] => 729
    [4] => Array
        (
            [tree] => Array
                (
                    [0] => Array
                        (
                            [tag] => packages
                            [attributes] => 
                            [value] => 
                            [children] => Array
                                (
                                    [0] => Array
                                        (
                                            [tag] => package
                                            [attributes] => Array
                                                (
                                                    [version] => 1.0
                                                )

                                            [value] => 

                                            [children] => Array ....
Kannst du das mal durchchecken?
Danke
Nee, Garvin
Das reicht leider noch nicht... jetzt wechselt die Zeile...

Code: Select all

Fatal error:  Uncaught exception 'ErrorException' with message 'Serendipity error: Illegal string offset 'tag'' in /var/www/virtual/testwww/html/serendipity/include/compat.inc.php:108
Stack trace:
#0 /var/www/virtual/testwww/html/serendipity/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php(768): errorToExceptionHandler(2, 'Illegal string ...', '/var/www/virtua...', 768, Array)
#1 /var/www/virtual/testwww/html/serendipity/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php(1143): serendipity_event_spartacus->buildList(Array, 'event')
#2 /var/www/virtual/testwww/html/serendipity/include/plugin_api.inc.php(1073): serendipity_event_spartacus->event_hook('backend_plugins...', Object(serendipity_property_bag), Array, NULL)
#3 /var/www/virtual/testwww/html/serendipity/include/admin/plugins.inc.php(196): serendipity_plugin_api::hook_event('backend_plugins...', Array)
#4 /var/www/virtual/testwww/html/serendipity/serendipity_admin.php(145): include('/var/www/virtua...')
#5 {main}
  thrown in /var/www/virtual/testwww/html/serendipity/include/compat.inc.php on line 108
Der gzip error entstand dadurch, dass ich die erweiterte Installation genommen habe und gleich die empfohlene GZIP Kompression auf "JA" eingestellt habe.

Code: Select all

Fatal error:  Uncaught exception 'ErrorException' with message 'Serendipity error: ob_start(): output handler 'ob_gzhandler' conflicts with 'zlib output compression'' in /var/www/virtual/testwww/html/serendipity/include/compat.inc.php:108
Stack trace:
#0 [internal function]: errorToExceptionHandler(2, 'ob_start(): out...', '/var/www/virtua...', 68, Array)
#1 /var/www/virtual/testwww/html/serendipity/include/functions.inc.php(68): ob_start('ob_gzhandler')
#2 /var/www/virtual/testwww/html/serendipity/index.php(637): serendipity_gzCompression()
#3 {main}
  thrown in /var/www/virtual/testwww/html/serendipity/include/compat.inc.php on line 108
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: 1.7 testing errors [bundled thread]

Post by Timbalu »

Oh, sorry pasting german into english section...

Thanks Garvin.
Nope, still unsolved. I don't think its a problem of tag, even if the error tells us, while that should be avoided by your patches...
It stops right here ~ 768, same as 2cd noted error: "Illegal string offset 'tag'"

Code: Select all

if ($relInfo['tag'] == 'requirements:s9yVersion') {
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: 1.7 testing errors [bundled thread]

Post by Timbalu »

garvinhicking wrote:About gzip - I have never used that. Can't help with this one.
Seems to be an unresolved PHP error, see
https://bugs.php.net/bug.php?id=62335
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: 1.7 testing errors [bundled thread]

Post by Timbalu »

Another one.
I can't get Captchas to work. They do not show up at all.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: 1.7 testing errors [bundled thread]

Post by yellowled »

Timbalu wrote:I can't get Captchas to work. They do not show up at all.
That's not a bug, that's a feature. (SCNR.)

YL
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: 1.7 testing errors [bundled thread]

Post by Timbalu »

haaaaahaaaaaaahaaaaaaa ... scratching a loooooong beard, YL! :roll:

But you are also using ubernautics, have you tested with 1.7?
What about the other bugs?
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: 1.7 testing errors [bundled thread]

Post by yellowled »

Timbalu wrote:But you are also using ubernautics, have you tested with 1.7? What about the other bugs?
My development blog is running 1.7. I've reported any bugs I've come across so far.

YL
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: 1.7 testing errors [bundled thread]

Post by Timbalu »

I know you aren't using captchas, YL, but could you have a loook into spamblock config if it is shown as a picture at the bottom?
And please also check if Spartacus Plugin installation or upgrade is working for you w/o the mentioned error...

Thank you
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: 1.7 testing errors [bundled thread]

Post by yellowled »

Yes, the captcha at the bottom of the Spamblock plugin does show up. Updating plugins via Spartacus works just fine (just updated the Markdown plugin).

Current 1.7-alpha1 (master: b3755b), PHP 5.3.13.

YL
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: 1.7 testing errors [bundled thread]

Post by Timbalu »

yellowled wrote:Current 1.7-alpha1 (master: b3755b), PHP 5.3.13.
Hmmm I see - but my current watched uberspace server has PHP 5.4.4, isn't that the ubernautic server standard? How do you do that?
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: 1.7 testing errors [bundled thread]

Post by yellowled »

Timbalu wrote:
yellowled wrote:Hmmm I see - but my current watched uberspace server has PHP 5.4.4, isn't that the ubernautic server standard? How do you do that?
You can set the version for your Uberspace yourself.

Code: Select all

[netzg@scorpius ~]$ cat ~/etc/phpversion 
PHPVERSION=5.3.13
Edit: Of course, you have to pick a php version which is actually available on your Uberspace, see Uberspace wiki.

YL
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: 1.7 testing errors [bundled thread]

Post by Timbalu »

Ok great, thank you!!!

Downgrading solved my errors in SPARTACUS immediately.
Even the CAPTCHAs are working now.
It was the missing Imagick, as PECL imagick 3.1 wrapper is still beta for PHP 5.4.4 and has to get allowed first before install:

Code: Select all

$ pear config-set preferred_state beta
.
https://bugs.php.net/bug.php?id=61501

Edit: The http://pecl.php.net/package/imagick/3.1.0RC2 package should compile well with PHP 5.4 now. If not already done by uberspace, try with
https://uberspace.de/dokuwiki/developme ... stallieren
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
minad
Posts: 1
Joined: Mon Feb 11, 2013 6:14 am

Re: 1.7 testing errors [bundled thread]

Post by minad »

I had same problem and have fixed it ok follow this thread! THanks
danwestlake
Regular
Posts: 5
Joined: Mon Mar 04, 2013 3:38 am

Re: 1.7 testing errors [bundled thread]

Post by danwestlake »

Hello,

I'm new to serendipity. I just did a fresh install and installation was fine. I ran into a little bug at the end of the installation, I clicked on the link for the admin log in and it took me to http://www.londonareabusinessdirectory. ... pity/admin which doesn't exist.

To get to the admin login I entered the url http://www.londonareabusinessdirectory. ... _admin.php

Dan
Post Reply