UPDATE: After uninstalling some inactive themes, my complete site has crashed!!! Should I reinstall piwigo?
Hello,
I've installed the Grey Dragon Theme and it completely screwed up the site! Even after uninstalling problems remain:
Error-code in heading: "
Notice: unserialize() [function.unserialize]: Error at offset 0 of 309 bytes in /home/u904604076/public_html/photo/include/functions.inc.php on line 1293
Warning: Cannot modify header information - headers already sent by (output started at /home/u904604076/public_html/photo/include/functions.inc.php:1293) in /home/u904604076/public_html/photo/include/page_header.php on line 101"
The theme I was using (Dark) doesn't display as before!
And when I'm on the site I get an other error (see screenshot)
How can I resolve this problem?
Pat
Piwigo version:
PHP version:
MySQL version:
Piwigo URL: http://www.patsgalleries.net
Last edited by Pat2309 (2014-11-06 09:59:02)
Offline
Hello
do you use Contact Form ; it might come from it
in the case of you deleted thèmes from ftp: post:p155371
Offline
Thanks Flop25,
everything is back to normal, but I had to deactivate ContactForm. I never had problems with it before... It all started after I installed the GreyDragon theme.
Is there a way I can fix the problem with ContactForm?
Best regards,
Pat
Offline
OK,
I've removed ContactForm completely and then re-installed it! Now it works fine again!
Thanks for your help Flop25
Pat
Offline
so in the end it was nothing to do with the theme, yes?
Offline
BTW, site shows number of internal errors. while you have switched away from GD, you may still want to check other things in your deployment
Offline
Serge D wrote:
so in the end it was nothing to do with the theme, yes?
All trouble started with the installation of the theme... But what exactly went wrong I (still) don't know!
Pat
Offline
Serge if you could check if there is a real issue due to both that would be great because that's not the first report
Offline
that would be really strange though
I read and read and read again the source code of ContactForm, plg too
can find why the config get corrupted, and why so randomly
unless there is a typo (invisible char for sure) un GreyDragon source code which messes up the SQL query (how ??)
Offline
flop25 wrote:
Serge if you could check if there is a real issue due to both that would be great because that's not the first report
Gladly would do so, if you point me to place for more information
Offline
is it linked to Contact Plugin? if I install it, would it show up? any particular steps?
Offline
mistic100 wrote:
that would be really strange though
I read and read and read again the source code of ContactForm, plg too
can find why the config get corrupted, and why so randomly
unless there is a typo (invisible char for sure) un GreyDragon source code which messes up the SQL query (how ??)
interesting idea, but I could not see how page content can affect SQL statement
if it is in fact the possibility, it means site can be hacked
please note that from discussion in the theme's thread, I was not able reproduce the problem with your plugin alone. There is some thing else is going on
Offline
flop25 wrote:
Serge if you could check if there is a real issue due to both that would be great because that's not the first report
not first report of what?
the only other idea I have had so far is to double check logic when site is installed as subfolder of the domain. I will have to bring up another instance of PWG to test this theory and this may take time
Offline
[Forum, topic 155735]
Someone had it on the French forum on 2.7.0 just by activating Contact Form so in that case Grey Dragon was not involved.
@mistic do you think it could be a side effect of the issue about not calling the update for plugins in 2.7.0?
Offline
flop25 wrote:
@mistic do you think it could be a side effect of the issue about not calling the update for plugins in 2.7.0?
I also noted an issue with one of my plugins (not using maintain.class). The version in the db is never updated when activating ... Before It was ( http://piwigo.org/dev/browser/trunk/adm … 26329#L171 ). Now It is not ( http://piwigo.org/dev/browser/trunk/adm … 30380#L198 )
Offline