Update with glitches

Having trouble installing serendipity?
Post Reply
thatsme
Regular
Posts: 14
Joined: Sat Jun 12, 2010 7:50 pm

Update with glitches

Post by thatsme » Sat Mar 28, 2020 5:46 am

Hi everybody.
I have some issue after updating from v.2.3.2 to latest version.
Here is what I've got on the dashboard page -
Error redirect: == SERENDIPITY ERROR ==
Warning: Use of undefined constant URL - assumed 'URL' (this will throw an Error in a future version of PHP) in /homepages/42/d330154832/htdocs/serendipity/plugins/serendipity_event_dashboard/serendipity_event_dashboard.php on line 218.
For more details set $serendipity['production'] = 'debug' in serendipity_config_local.inc.php to receive a stack-trace.
And also I've got this message -
The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open http://predvidenie.com/index.php?/plugi ... _editor.js manually in your browser and check for error messages.
I'm not savvy enough to dig into a deeps. Could you share with me some ideas on how to return everything back to normal, please?

Oh, btw, is it possible to have an option to chose with spartacus what version of s9y I can install? I suspect that downgrade sometimes would be the best solution.

Thank you, have a great day

User avatar
onli
Regular
Posts: 2487
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: Update with glitches

Post by onli » Sat Mar 28, 2020 10:06 pm

You should uninstall that plugin, and if possible delete the files from the servers. It is outdated and from before when s9y had a proper dashboard in the backend.
The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open http://predvidenie.com/index.php?/plugi ... _editor.js manually in your browser and check for error messages.
Did you open the link in your browser while being logged in? Does it show an error message?

User avatar
thh
Regular
Posts: 418
Joined: Thu Oct 26, 2006 2:38 pm
Location: Stuttgart, Germany
Contact:

Re: Update with glitches

Post by thh » Sat Mar 28, 2020 10:44 pm

thatsme wrote:
Sat Mar 28, 2020 5:46 am
Here is what I've got on the dashboard page -
Error redirect: == SERENDIPITY ERROR ==
Warning: Use of undefined constant URL - assumed 'URL' (this will throw an Error in a future version of PHP) in /homepages/42/d330154832/htdocs/serendipity/plugins/serendipity_event_dashboard/serendipity_event_dashboard.php on line 218.
For more details set $serendipity['production'] = 'debug' in serendipity_config_local.inc.php to receive a stack-trace.
The serendipity_event_dashboard plugin has been removed from Serendipity in 2016 (https://github.com/s9y/additional_plugi ... d16986eefc); as such, it will not be updated, throwing errors in newer versions of PHP.

You can and should delete the /homepages/42/d330154832/htdocs/serendipity/plugins/serendipity_event_dashboard/ directory (with all files) from your website and remove the plugin from your Serendipity plugin configuration.

A dashboard is now part of Serendipity Core since Serendipity 2.0.
thatsme wrote:
Sat Mar 28, 2020 5:46 am
And also I've got this message -
The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open http://predvidenie.com/index.php?/plugi ... _editor.js manually in your browser and check for error messages.
That's a subsequent error, triggered by the previous error message breaking the output flow.
thatsme wrote:
Sat Mar 28, 2020 5:46 am
Oh, btw, is it possible to have an option to chose with spartacus what version of s9y I can install? I suspect that downgrade sometimes would be the best solution.
That won't be possible, I'm afraid.

We advise to make backups from your files and your database prior to upgrading so you cann downgrade / rollback the upgrade. That won't be necessary most times, but it's good to have anyway.

thatsme
Regular
Posts: 14
Joined: Sat Jun 12, 2010 7:50 pm

Re: Update with glitches

Post by thatsme » Sun Mar 29, 2020 12:50 am

Thank you folks, for help, you make ones life so much easier, I'm telling you :)

Ok, I removed "../serendipity_event_dashboard/" from the directory and uninstalled it from event plugins and the error message disappeared.
The JavaScript woke up also.
But instead I've got this thing (when I open "Configure Plugins") -
Error redirect: == SERENDIPITY ERROR ==
Warning: Use of undefined constant PLUGIN_EVENT_KUBRICKHEADER_STYLE - assumed 'PLUGIN_EVENT_KUBRICKHEADER_STYLE' (this will throw an Error in a future version of PHP) in /homepages/42/d330154832/htdocs/serendipity/plugins/serendipity_event_kubrickheader/serendipity_event_kubrickheader.php on line 22.
For more details set $serendipity['production'] = 'debug' in serendipity_config_local.inc.php to receive a stack-trace.
Should I kill "../serendipity_event_kubrickheader.php" as well?

Thank you!

User avatar
thh
Regular
Posts: 418
Joined: Thu Oct 26, 2006 2:38 pm
Location: Stuttgart, Germany
Contact:

Re: Update with glitches

Post by thh » Sun Mar 29, 2020 9:10 am

thatsme wrote:
Sun Mar 29, 2020 12:50 am
Ok, I removed "../serendipity_event_dashboard/" from the directory and uninstalled it from event plugins and the error message disappeared.
The JavaScript woke up also.
Wonderful!
thatsme wrote:
Sun Mar 29, 2020 12:50 am
Should I kill "../serendipity_event_kubrickheader.php" as well?
No, we still maintain that plugin, so we can fix it - let me have a look.

User avatar
thh
Regular
Posts: 418
Joined: Thu Oct 26, 2006 2:38 pm
Location: Stuttgart, Germany
Contact:

Re: Update with glitches

Post by thh » Sun Mar 29, 2020 9:15 am

thh wrote:
Sun Mar 29, 2020 9:10 am
thatsme wrote:
Sun Mar 29, 2020 12:50 am
Should I kill "../serendipity_event_kubrickheader.php" as well?
No, we still maintain that plugin, so we can fix it - let me have a look.
The bug had already been fixed 7 month ago, but as the plugin version had not been incremented, the new version was not released. I fixed that; with the next Spartacus run at about half past midnight tonight, you'll be able to update that plugin from the Serendipity plugin manager, and the error will go away.

thatsme
Regular
Posts: 14
Joined: Sat Jun 12, 2010 7:50 pm

Re: Update with glitches

Post by thatsme » Mon Mar 30, 2020 9:28 am

I did as you wrote, the error's gone as you suggested, but the JavaScript laid down again -
== SERENDIPITY ERROR ==
Warning: Cannot modify header information - headers already sent by (output started at /homepages/42/d330154832/htdocs/serendipity/include/compat.inc.php:235) in /homepages/42/d330154832/htdocs/serendipity/include/plugin_api.inc.php on line 121.
For more details set $serendipity['production'] = 'debug' in serendipity_config_local.inc.php to receive a stack-trace.
So, what would be the next step for me to make?
Thank you!

thatsme
Regular
Posts: 14
Joined: Sat Jun 12, 2010 7:50 pm

Re: Update with glitches

Post by thatsme » Tue Mar 31, 2020 6:07 am

Ok, folks, for some miraculous reason today everything works just flawlessly :)
I don't know how, I don't know why, but that's what it is.
I really appreciate your very valuable help.
This topic can be closed now.
All the best to everyone.

User avatar
thh
Regular
Posts: 418
Joined: Thu Oct 26, 2006 2:38 pm
Location: Stuttgart, Germany
Contact:

Re: Update with glitches

Post by thh » Wed Apr 01, 2020 3:21 pm

thatsme wrote:
Tue Mar 31, 2020 6:07 am
Ok, folks, for some miraculous reason today everything works just flawlessly :)
I don't know how, I don't know why, but that's what it is.
That's bad for debugging, but good for you. :D
thatsme wrote:
Tue Mar 31, 2020 6:07 am
I really appreciate your very valuable help.
My pleasure. Thanks for your patience and your yery clear reports!

Post Reply