2.5.2 upgrade problem: [message #12246] |
Thu, 31 July 2003 20:29 |
wwalker
Messages: 10 Registered: July 2003
Karma: 0
|
Junior Member |
|
|
Upgrading from 2.3.8, I got:
Disable the forum
Forum is now disabled
Check if SQL permissions to perform the upgrade are avaliable
Beginning the file upgrade process
Begining to decompress the archive
Finished decompressing the archive
File Upgrade Complete
Any changed files were backed up to: "/var/www/forum/errors/.backup/"
Fetch SQL archive
SQL archive is now avaliable
Beginning SQL Upgrades
SQL Upgrades Complete
Creating Avatar Cache
Notice: Undefined offset: 6 in /var/www/html/forum/upgrade.php on line 1236
Notice: Undefined offset: 6 in /var/www/html/forum/upgrade.php on line 1237
Populating pdest field for private messages
Reserving id for anon users
Adding GLOBAL Variables
Compiling theme default
referenced file named (msgreport.tmpl) doesn't exist
<end of output on screen >
Then when I try to go to the forums:
Temporarily offline; please come back soon!
Administrators can login here
OK... then I click on "here" above and:
Fatal error: Call to undefined function: set_tz() in /var/www/forum/include/theme/default/users.inc on line 178
And yes I foolishly did this during the day, so while any help is very much appreciated, quicker responses would be even more appreciated.
Wayne Walker
Wayne Walker
BroadQ, LLC
bringing digital media into the livinig room
|
|
|
|
|
Re: 2.5.2 upgrade problem: [message #12250 is a reply to message #12248] |
Thu, 31 July 2003 22:35 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
It should work fine, but I am just trying to isolate the problem for the moment. Could you please do the following inside the default/tmpl/ directory run the following command:
ls -lr --sort=time and reply with the output.
FUDforum Core Developer
|
|
|
Re: 2.5.2 upgrade problem: [message #12251 is a reply to message #12250] |
Thu, 31 July 2003 22:38 |
wwalker
Messages: 10 Registered: July 2003
Karma: 0
|
Junior Member |
|
|
-rw-rw-rw- 1 apache apache 824 Apr 8 15:41 wordwrap.tmpl
-rw-rw-rw- 1 apache apache 812 Apr 8 15:41 util.tmpl
-rw-rw-rw- 1 apache apache 815 Apr 8 15:41 users.tmpl
-rw-rw-rw- 1 apache apache 1219 Apr 8 15:41 users_adm.tmpl
-rw-rw-rw- 1 apache apache 808 Apr 8 15:41 url.tmpl
-rw-rw-rw- 1 apache apache 1150 Apr 8 15:41 ulink.tmpl
-rw-rw-rw- 1 apache apache 805 Apr 8 15:41 tz.tmpl
-rw-rw-rw- 1 apache apache 844 Apr 8 15:41 tmp_view.tmpl
-rw-rw-rw- 1 apache apache 811 Apr 8 15:41 time.tmpl
-rw-rw-rw- 1 apache apache 839 Apr 8 15:41 thread_notify.tmpl
-rw-rw-rw- 1 apache apache 815 Apr 8 15:41 theme.tmpl
-rw-rw-rw- 1 apache apache 3160 Apr 8 15:41 tabs.tmpl
-rw-rw-rw- 1 apache apache 871 Apr 8 15:41 spell.tmpl
-rw-rw-rw- 1 apache apache 49 Apr 8 15:41 smtp.tmpl
-rw-rw-rw- 1 apache apache 819 Apr 8 15:41 smiley.tmpl
-rw-rw-rw- 1 apache apache 824 Apr 8 15:41 security.tmpl
-rw-rw-rw- 1 apache apache 835 Apr 8 15:41 rview.tmpl
-rw-rw-rw- 1 apache apache 815 Apr 8 15:41 rhost.tmpl
-rw-rw-rw- 1 apache apache 821 Apr 8 15:41 rev_fmt.tmpl
-rw-rw-rw- 1 apache apache 818 Apr 8 15:41 return.tmpl
-rw-rw-rw- 1 apache apache 822 Apr 8 15:41 replace.tmpl
-rw-rw-rw- 1 apache apache 809 Apr 8 15:41 que.tmpl
-rw-rw-rw- 1 apache apache 821 Apr 8 15:41 objutil.tmpl
-rw-rw-rw- 1 apache apache 828 Apr 8 15:41 msgreport.tmpl
-rw-rw-rw- 1 apache apache 813 Apr 8 15:41 mime.tmpl
-rw-rw-rw- 1 apache apache 828 Apr 8 15:41 logaction.tmpl
-rw-rw-rw- 1 apache apache 824 Apr 8 15:41 is_perms.tmpl
-rw-rw-rw- 1 apache apache 816 Apr 8 15:41 ipoll.tmpl
-rw-rw-rw- 1 apache apache 825 Apr 8 15:41 ipfilter.tmpl
-rw-rw-rw- 1 apache apache 997 Apr 8 15:41 init_errors.tmpl
-rw-rw-rw- 1 apache apache 819 Apr 8 15:41 ilogin.tmpl
-rw-rw-rw- 1 apache apache 818 Apr 8 15:41 ignore.tmpl
-rw-rw-rw- 1 apache apache 1881 Apr 8 15:41 help_index.tmpl
-rw-rw-rw- 1 apache apache 1760 Apr 8 15:41 header.tmpl
-rw-rw-rw- 1 apache apache 815 Apr 8 15:41 forum.tmpl
-rw-rw-rw- 1 apache apache 836 Apr 8 15:41 forum_notify.tmpl
-rw-rw-rw- 1 apache apache 844 Apr 8 15:41 forum_adm.tmpl
-rw-rw-rw- 1 apache apache 1469 Apr 8 15:41 footer.tmpl
-rw-rw-rw- 1 apache apache 818 Apr 8 15:41 fileio.tmpl
-rw-rw-rw- 1 apache apache 1195 Apr 8 15:41 draw_select_opt.tmpl
-rw-rw-rw- 1 apache apache 1307 Apr 8 15:41 draw_radio_opt.tmpl
-rw-rw-rw- 1 apache apache 2835 Apr 8 15:41 draw_pager.tmpl
-rw-rw-rw- 1 apache apache 807 Apr 8 15:41 db.tmpl
-rw-rw-rw- 1 apache apache 831 Apr 8 15:41 customtags.tmpl
-rw-rw-rw- 1 apache apache 1063 Apr 8 15:41 curtime.tmpl
-rw-rw-rw- 1 apache apache 1570 Apr 8 15:41 coppa.tmpl
-rw-rw-rw- 1 apache apache 821 Apr 8 15:41 cookies.tmpl
-rw-rw-rw- 1 apache apache 828 Apr 8 15:41 cat.tmpl
-rw-rw-rw- 1 apache apache 820 Apr 8 15:41 cat_adm.tmpl
-rw-rw-rw- 1 apache apache 815 Apr 8 15:41 buddy.tmpl
-rw-rw-rw- 1 apache apache 818 Apr 8 15:41 avatar.tmpl
-rw-rw-rw- 1 apache apache 820 Apr 8 15:41 alt_var.tmpl
-rw-rw-rw- 1 apache apache 825 Apr 8 15:41 allperms.tmpl
-rw-rw-rw- 1 apache apache 2699 Apr 8 15:41 admincp.tmpl
-rw-rw-rw- 1 apache apache 10553 Jul 31 16:29 usrinfo.tmpl
-rw-rw-rw- 1 apache apache 846 Jul 31 16:29 users_reg.tmpl
-rw-rw-rw- 1 apache apache 5282 Jul 31 16:29 usercp.tmpl
-rw-rw-rw- 1 apache apache 9832 Jul 31 16:29 tree.tmpl
-rw-rw-rw- 1 apache apache 956 Jul 31 16:29 th.tmpl
-rw-rw-rw- 1 apache apache 3349 Jul 31 16:29 thr_exch.tmpl
-rw-rw-rw- 1 apache apache 3597 Jul 31 16:29 thread_view_common.tmpl
-rw-rw-rw- 1 apache apache 7732 Jul 31 16:29 threadt.tmpl
-rw-rw-rw- 1 apache apache 8961 Jul 31 16:29 thread.tmpl
-rw-rw-rw- 1 apache apache 1318 Jul 31 16:29 th_nav.tmpl
-rw-rw-rw- 1 apache apache 818 Jul 31 16:29 th_adm.tmpl
-rw-rw-rw- 1 apache apache 2945 Jul 31 16:29 subscribed.tmpl
-rw-rw-rw- 1 apache apache 1163 Jul 31 16:29 stats.tmpl
-rw-rw-rw- 1 apache apache 868 Jul 31 16:29 ssu.tmpl
-rw-rw-rw- 1 apache apache 3483 Jul 31 16:29 split_th.tmpl
-rw-rw-rw- 1 apache apache 1620 Jul 31 16:29 smladd.tmpl
-rw-rw-rw- 1 apache apache 1892 Jul 31 16:29 show.tmpl
-rw-rw-rw- 1 apache apache 2477 Jul 31 16:29 showposts.tmpl
-rw-rw-rw- 1 apache apache 4089 Jul 31 16:29 selmsg.tmpl
-rw-rw-rw- 1 apache apache 4929 Jul 31 16:29 search.tmpl
-rw-rw-rw- 1 apache apache 1159 Jul 31 16:29 search_forum_sel.tmpl
-rw-rw-rw- 1 apache apache 1089 Jul 31 16:29 rst.tmpl
-rw-rw-rw- 1 apache apache 2306 Jul 31 16:29 rpasswd.tmpl
-rw-rw-rw- 1 apache apache 879 Jul 31 16:29 root_index.tmpl
-rw-rw-rw- 1 apache apache 2741 Jul 31 16:29 reset.tmpl
-rw-rw-rw- 1 apache apache 2797 Jul 31 16:29 report.tmpl
-rw-rw-rw- 1 apache apache 2924 Jul 31 16:29 reported.tmpl
-rw-rw-rw- 1 apache apache 4066 Jul 31 16:29 remail.tmpl
-rw-rw-rw- 1 apache apache 19222 Jul 31 16:29 register.tmpl
-rw-rw-rw- 1 apache apache 1645 Jul 31 16:29 reg_conf.tmpl
-rw-rw-rw- 1 apache apache 2905 Jul 31 16:29 referals.tmpl
-rw-rw-rw- 1 apache apache 864 Jul 31 16:29 rdf.tmpl
-rw-rw-rw- 1 apache apache 870 Jul 31 16:29 ratethread.tmpl
-rw-rw-rw- 1 apache apache 1809 Jul 31 16:29 quicklogin.tmpl
-rw-rw-rw- 1 apache apache 2078 Jul 31 16:29 qbud.tmpl
-rw-rw-rw- 1 apache apache 1078 Jul 31 16:29 private.tmpl
-rw-rw-rw- 1 apache apache 1811 Jul 31 16:29 pre_reg.tmpl
-rw-rw-rw- 1 apache apache 8893 Jul 31 16:29 ppost.tmpl
-rw-rw-rw- 1 apache apache 13239 Jul 31 16:29 post.tmpl
-rw-rw-rw- 1 apache apache 931 Jul 31 16:29 post_proc.tmpl
-rw-rw-rw- 1 apache apache 1933 Jul 31 16:29 post_opt.tmpl
-rw-rw-rw- 1 apache apache 10739 Jul 31 16:29 post_common.tmpl
-rw-rw-rw- 1 apache apache 2018 Jul 31 16:29 postcheck.tmpl
-rw-rw-rw- 1 apache apache 5379 Jul 31 16:29 poll.tmpl
-rw-rw-rw- 1 apache apache 3107 Jul 31 16:29 polllist.tmpl
-rw-rw-rw- 1 apache apache 2154 Jul 31 16:29 pmuserloc.tmpl
-rw-rw-rw- 1 apache apache 1801 Jul 31 16:29 pmsg_view.tmpl
-rw-rw-rw- 1 apache apache 8140 Jul 31 16:29 pmsg.tmpl
-rw-rw-rw- 1 apache apache 902 Jul 31 16:29 pdf.tmpl
-rw-rw-rw- 1 apache apache 2269 Jul 31 16:29 online_today.tmpl
-rw-rw-rw- 1 apache apache 2374 Jul 31 16:29 mvthread.tmpl
-rw-rw-rw- 1 apache apache 7286 Jul 31 16:29 msg.tmpl
-rw-rw-rw- 1 apache apache 2250 Jul 31 16:29 modque.tmpl
-rw-rw-rw- 1 apache apache 5496 Jul 31 16:29 mnav.tmpl
-rw-rw-rw- 1 apache apache 1911 Jul 31 16:29 mmod.tmpl
-rw-rw-rw- 1 apache apache 2801 Jul 31 16:29 mklist.tmpl
-rw-rw-rw- 1 apache apache 1808 Jul 31 16:29 minimsg.tmpl
-rw-rw-rw- 1 apache apache 864 Jul 31 16:29 markread.tmpl
-rw-rw-rw- 1 apache apache 3610 Jul 31 16:29 login.tmpl
-rw-rw-rw- 1 apache apache 2448 Jul 31 16:29 logedin.tmpl
-rw-rw-rw- 1 apache apache 2173 Jul 31 16:29 list_referers.tmpl
-rw-rw-rw- 1 apache apache 861 Jul 31 16:29 isearch.tmpl
-rw-rw-rw- 1 apache apache 6158 Jul 31 16:29 index.tmpl
-rw-rw-rw- 1 apache apache 987 Jul 31 16:29 imsg.tmpl
-rw-rw-rw- 1 apache apache 1041 Jul 31 16:29 imsg_edt.tmpl
-rw-rw-rw- 1 apache apache 4247 Jul 31 16:29 ignore_list.tmpl
-rw-rw-rw- 1 apache apache 3725 Jul 31 16:29 iemail.tmpl
-rw-rw-rw- 1 apache apache 2125 Jul 31 16:29 groups.tmpl
-rw-rw-rw- 1 apache apache 6721 Jul 31 16:29 groupmgr.tmpl
-rw-rw-rw- 1 apache apache 881 Jul 31 16:29 getfile.tmpl
-rw-rw-rw- 1 apache apache 1691 Jul 31 16:29 get_cur_ppage.tmpl
-rw-rw-rw- 1 apache apache 1955 Jul 31 16:29 forumsel.tmpl
-rw-rw-rw- 1 apache apache 11231 Jul 31 16:29 forum.css.tmpl
-rw-rw-rw- 1 apache apache 5218 Jul 31 16:29 finduser.tmpl
-rw-rw-rw- 1 apache apache 2598 Jul 31 16:29 err.tmpl
-rw-rw-rw- 1 apache apache 1687 Jul 31 16:29 error.tmpl
-rw-rw-rw- 1 apache apache 1052 Jul 31 16:29 errmsg.tmpl
-rw-rw-rw- 1 apache apache 3745 Jul 31 16:29 email.tmpl
-rw-rw-rw- 1 apache apache 1061 Jul 31 16:29 emailconf.tmpl
-rw-rw-rw- 1 apache apache 9609 Jul 31 16:29 drawpmsg.tmpl
-rw-rw-rw- 1 apache apache 16784 Jul 31 16:29 drawmsg.tmpl
-rw-rw-rw- 1 apache apache 2694 Jul 31 16:29 coppa_fax.tmpl
-rw-rw-rw- 1 apache apache 4468 Jul 31 16:29 buddy_list.tmpl
-rw-rw-rw- 1 apache apache 1784 Jul 31 16:29 avatarsel.tmpl
-rw-rw-rw- 1 apache apache 1142 Jul 31 16:29 avatar_msg.tmpl
-rw-rw-rw- 1 apache apache 818 Jul 31 16:29 attach.tmpl
-rw-rw-rw- 1 apache apache 1301 Jul 31 16:29 announcement.tmpl
-rw-rw-rw- 1 apache apache 1284 Jul 31 16:29 allowed_user_lnk.tmpl
-rw-rw-rw- 1 apache apache 2470 Jul 31 16:29 actions.tmpl
Wayne Walker
BroadQ, LLC
bringing digital media into the livinig room
|
|
|
Re: 2.5.2 upgrade problem: [message #12252 is a reply to message #12251] |
Thu, 31 July 2003 22:40 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Move all the files dates Apr 8 into a seperate (backup directory) and then re-run the upgrade script.
FUDforum Core Developer
|
|
|
Re: 2.5.2 upgrade problem: [message #12255 is a reply to message #12252] |
Thu, 31 July 2003 22:56 |
wwalker
Messages: 10 Registered: July 2003
Karma: 0
|
Junior Member |
|
|
The upgrade script ran fine as did the two consistency checks.
But now I can;t log out:
Parse error: parse error in /var/www/html/forum/theme/default/login.php on line 635
Wayne Walker
BroadQ, LLC
bringing digital media into the livinig room
|
|
|
|
Re: 2.5.2 upgrade problem: [message #12257 is a reply to message #12255] |
Thu, 31 July 2003 23:06 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Do you have a php cgi or a php cli binary?
If so run the following command inside /var/www/html/forum/theme/default/
ls -1 --color=no | xargs -n1 php -l
It should find all the files with parse errors.
Please attach all files with parse errors to your reply.
FUDforum Core Developer
|
|
|
|
Re: 2.5.2 upgrade problem: [message #12259 is a reply to message #12257] |
Thu, 31 July 2003 23:12 |
wwalker
Messages: 10 Registered: July 2003
Karma: 0
|
Junior Member |
|
|
All the lines said this:
No syntax errors detected in <filename>
So it appears that only login.php had a parse error and I'd already fixed it.
Wayne Walker
BroadQ, LLC
bringing digital media into the livinig room
|
|
|
|
Re: 2.5.2 upgrade problem: [message #12261 is a reply to message #12260] |
Thu, 31 July 2003 23:22 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Check the group permissions to make sure that they are set correctly?
Did you have a set of users who had access to these forums or was it blocking of all anon users?
FUDforum Core Developer
|
|
|
Re: 2.5.2 upgrade problem: [message #12262 is a reply to message #12261] |
Thu, 31 July 2003 23:26 |
wwalker
Messages: 10 Registered: July 2003
Karma: 0
|
Junior Member |
|
|
There were 3 forums that could only be seen by one user group. Now those 3 'private' forums are visible to anonymous users too. We didnt change any permissions or groups
Wayne Walker
BroadQ, LLC
bringing digital media into the livinig room
|
|
|
Re: 2.5.2 upgrade problem: [message #12263 is a reply to message #12262] |
Thu, 31 July 2003 23:48 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Check the permissions of the group controlling the access rights to that forum. I suspect something may have caused them to be rest.
FUDforum Core Developer
|
|
|
|
|
|