Just upgraded to v0.9 but layout affected
Just upgraded to v0.9 but layout affected
Hello all,
Have just upgraded to v0.9 by copying all the files over the current version. I noticed 3 strange things:
1. If I click on an entry, the entry is not within the screen. Then if I refresh the entry, it then moves all within the screen.
2. When I login to the admin account and click "configure plugins", I get the following message:
Fatal error: Cannot redeclare serendipity_fetchtrackbacks() (previously declared in /home/httpd/html/aacircle/blog/include/functions_smarty.inc.php:5) in /home/httpd/html/aacircle/blog/include/functions_trackbacks.inc.php on line 5
3. If I click on Manage Groups, I get the following:
Warning: Invalid argument supplied for foreach() in /home/httpd/html/aacircle/blog/include/admin/groups.inc.php on line 54
Does anyone know where I've gone wrong?
Thanks for any support you can provide.
Have just upgraded to v0.9 by copying all the files over the current version. I noticed 3 strange things:
1. If I click on an entry, the entry is not within the screen. Then if I refresh the entry, it then moves all within the screen.
2. When I login to the admin account and click "configure plugins", I get the following message:
Fatal error: Cannot redeclare serendipity_fetchtrackbacks() (previously declared in /home/httpd/html/aacircle/blog/include/functions_smarty.inc.php:5) in /home/httpd/html/aacircle/blog/include/functions_trackbacks.inc.php on line 5
3. If I click on Manage Groups, I get the following:
Warning: Invalid argument supplied for foreach() in /home/httpd/html/aacircle/blog/include/admin/groups.inc.php on line 54
Does anyone know where I've gone wrong?
Thanks for any support you can provide.
** English Teacher and Student Site **
http://www.aacircle.com.au/blog
ESL Blog It! "Real Stories from Real Teachers!"
http://www.aacircle.com.au/blog
ESL Blog It! "Real Stories from Real Teachers!"
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Just upgraded to v0.9 but layout affected
This sounds as if you transfered two identical files? Check if the mentioned files in your error message are identical; they shouldn't!
About problem #1, maybe this is related. I must admit I don't understand what exactly you mean and how what looks
Regards,
Garvin
About problem #1, maybe this is related. I must admit I don't understand what exactly you mean and how what looks
Regards,
Garvin
# 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/
# 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/
Oh... re problem 1, just go to www.aacircle.com.au/blog and then click on any entry. You will see the entry is not within the screen but goes off the screen. If I delete ALL files (not database files of course) in our blog and recopy over v.9, will the upgrade run automatically? Would this be safe?
** English Teacher and Student Site **
http://www.aacircle.com.au/blog
ESL Blog It! "Real Stories from Real Teachers!"
http://www.aacircle.com.au/blog
ESL Blog It! "Real Stories from Real Teachers!"
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hm, on my Firefox the entry looks perfectly allright!
About upgrading: Just extract the s9y release file over your existing directory, overwriting all files. That should give you all proper files. Check your FTP client or SSH console (whatever you're using to copy the files) for any write/permission errors.
The only files you need to conserve in your s9y (apart from the DB) is:
.htaccess
serendipity_config_local.inc.php
/uploads/*
Plus any plugins you installed.
Best regards,
Garvin
About upgrading: Just extract the s9y release file over your existing directory, overwriting all files. That should give you all proper files. Check your FTP client or SSH console (whatever you're using to copy the files) for any write/permission errors.
The only files you need to conserve in your s9y (apart from the DB) is:
.htaccess
serendipity_config_local.inc.php
/uploads/*
Plus any plugins you installed.
Best regards,
Garvin
# 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/
# 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/
On my Firefox, when I go to www.aacircle.com.au/blog everything looks fine. However, when I click on an article, the sidebars and entries are pushed out and big white gaps. So then if I click refresh, it then pops all back into place.
I've just tried with Internet Explorer, and this prob didn't occur in exporer.
Ok, I've re-copied over the files in the include directory. It did solve some of the problems. Ie. I can now click on Confgure Plugins when logged in.
The remaining prob is when I click on Manage Groups. I get the error:
Warning: Invalid argument supplied for foreach() in /home/httpd/html/aacircle/blog/include/admin/groups.inc.php on line 54
I've just tried with Internet Explorer, and this prob didn't occur in exporer.
Ok, I've re-copied over the files in the include directory. It did solve some of the problems. Ie. I can now click on Confgure Plugins when logged in.
The remaining prob is when I click on Manage Groups. I get the error:
Warning: Invalid argument supplied for foreach() in /home/httpd/html/aacircle/blog/include/admin/groups.inc.php on line 54
** English Teacher and Student Site **
http://www.aacircle.com.au/blog
ESL Blog It! "Real Stories from Real Teachers!"
http://www.aacircle.com.au/blog
ESL Blog It! "Real Stories from Real Teachers!"
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
I cannot reproduce your problem. But Google Adsense is known to cause such trouble. Temporarily deactivate your javascript to see if that is the cause.
Did you see an upgrader message telling you that SQL files need to be executed? You need to see and execute that one to properly upgrade.
You can peroform the upgrade once again by just editing your serendipity_config_local.inc.php and set the versionInstalled string to the version you had running previously (i.e. 0.8.5). Then go to your blog again, and it should re-execute the upgrade steps again.
If your local file is not editable, execute this PHP:
Regards,
Garvin
It seems that your user is not a member of any group. How did you exactly perform the serendipity upgrade?The remaining prob is when I click on Manage Groups. I get the error:
Warning: Invalid argument supplied for foreach() in /home/httpd/html/aacircle/blog/include/admin/groups.inc.php on line 54
Did you see an upgrader message telling you that SQL files need to be executed? You need to see and execute that one to properly upgrade.
You can peroform the upgrade once again by just editing your serendipity_config_local.inc.php and set the versionInstalled string to the version you had running previously (i.e. 0.8.5). Then go to your blog again, and it should re-execute the upgrade steps again.
If your local file is not editable, execute this PHP:
Code: Select all
<?php
chmod('serendipity_config_local.inc.php', 0777);
?>
Garvin
# 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/
# 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/
I re-upgraded by changing the version number to 0.8.5 as per your suggestion. I then got the warning that the SQL files need updating. I agreed like I did before and then the next screen shows many errors.
Calling serendipity_buildPermalinks ...
Calling serendipity_addDefaultGroups ...
We detected some errors while running some diagnostics on your entered information:
-
CREATE TABLE serendipity_permalinks (
permalink varchar(255) not null default '',
entry_id int(10) unsigned not null default '0',
type varchar(200) not null default '',
data text
);
/ Table 'serendipity_permalinks' already exists
CREATE INDEX pl_idx ON serendipity_permalinks (permalink);
/ Access denied for user: 'aacircle@localhost' to database 'aacircle'
CREATE INDEX ple_idx ON serendipity_permalinks (entry_id);
/ Access denied for user: 'aacircle@localhost' to database 'aacircle'
CREATE INDEX plt_idx ON serendipity_permalinks (type);
/ Access denied for user: 'aacircle@localhost' to database 'aacircle'
CREATE INDEX plcomb_idx ON serendipity_permalinks (permalink, type);
etc.....
Then at the bottom of the screen is:
Your Serendipity installation is now upgraded to version 0.9
Calling serendipity_buildPermalinks ...
Calling serendipity_addDefaultGroups ...
We detected some errors while running some diagnostics on your entered information:
-
CREATE TABLE serendipity_permalinks (
permalink varchar(255) not null default '',
entry_id int(10) unsigned not null default '0',
type varchar(200) not null default '',
data text
);
/ Table 'serendipity_permalinks' already exists
CREATE INDEX pl_idx ON serendipity_permalinks (permalink);
/ Access denied for user: 'aacircle@localhost' to database 'aacircle'
CREATE INDEX ple_idx ON serendipity_permalinks (entry_id);
/ Access denied for user: 'aacircle@localhost' to database 'aacircle'
CREATE INDEX plt_idx ON serendipity_permalinks (type);
/ Access denied for user: 'aacircle@localhost' to database 'aacircle'
CREATE INDEX plcomb_idx ON serendipity_permalinks (permalink, type);
etc.....
Then at the bottom of the screen is:
Your Serendipity installation is now upgraded to version 0.9
** English Teacher and Student Site **
http://www.aacircle.com.au/blog
ESL Blog It! "Real Stories from Real Teachers!"
http://www.aacircle.com.au/blog
ESL Blog It! "Real Stories from Real Teachers!"
Now after I log in, all links in the admin area work. Manage groups, plugins etc.
Was the above red warnings anything to be alarmed about?
Now I just have to see why the entries are thown out of allignment.
Was the above red warnings anything to be alarmed about?
Now I just have to see why the entries are thown out of allignment.
** English Teacher and Student Site **
http://www.aacircle.com.au/blog
ESL Blog It! "Real Stories from Real Teachers!"
http://www.aacircle.com.au/blog
ESL Blog It! "Real Stories from Real Teachers!"
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
The red warnings above can be ignored, they just tell you of already existing tables. So all should be well now.
Good luck with the entry-formatting!
Regards,
Garvin
Good luck with the entry-formatting!
Regards,
Garvin
# 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/
# 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/
Thanks Garvin for your help. I did remove Adsense but this didn't fix the problem. May be just by Firefox.
Are you sure that when you go to www.aacircle.com.au/blog and click on an entry, it's nicely placed? Because mine is only nicely placed after I refresh that particular entry.
Cheers!
Are you sure that when you go to www.aacircle.com.au/blog and click on an entry, it's nicely placed? Because mine is only nicely placed after I refresh that particular entry.
Cheers!
** English Teacher and Student Site **
http://www.aacircle.com.au/blog
ESL Blog It! "Real Stories from Real Teachers!"
http://www.aacircle.com.au/blog
ESL Blog It! "Real Stories from Real Teachers!"
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Yeah, I'm absolutely sure:
http://img89.imageshack.us/my.php?image ... 1100ji.png
http://img89.imageshack.us/my.php?image ... 1369lc.png
that's how it looks like immediately, without any refreshing or popping around.
Regards,
Garvin
Yeah, I'm absolutely sure:
http://img89.imageshack.us/my.php?image ... 1100ji.png
http://img89.imageshack.us/my.php?image ... 1369lc.png
that's how it looks like immediately, without any refreshing or popping around.
Regards,
Garvin
# 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/
# 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/
Thank you Garvin! You are too quick. Am going to your PayPal account now! 
** English Teacher and Student Site **
http://www.aacircle.com.au/blog
ESL Blog It! "Real Stories from Real Teachers!"
http://www.aacircle.com.au/blog
ESL Blog It! "Real Stories from Real Teachers!"
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Wow, thanks a lot for your Paypal donation! I'm humbled! 
Best regards,
Garvin
Best regards,
Garvin
# 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/
# 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/
I think you deserved it after the great support you put in and not only for my question, but everyone's question. Keep up the good work Garvin and have a good weekend. 
** English Teacher and Student Site **
http://www.aacircle.com.au/blog
ESL Blog It! "Real Stories from Real Teachers!"
http://www.aacircle.com.au/blog
ESL Blog It! "Real Stories from Real Teachers!"