FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » 2.5.2 upgrade problem:
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
2.5.2 upgrade problem: [message #12246] Thu, 31 July 2003 20:29 Go to next message
wwalker is currently offline  wwalker   United States
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 Sad >

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 #12247 is a reply to message #12246] Thu, 31 July 2003 21:27 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Are you using a custom theme?

FUDforum Core Developer
Re: 2.5.2 upgrade problem: [message #12248 is a reply to message #12247] Thu, 31 July 2003 22:19 Go to previous messageGo to next message
gochomoe is currently offline  gochomoe   United States
Messages: 8
Registered: July 2003
Location: Austin Tx
Karma: 0
Junior Member
I work with wayne.

Yes we are using a custom theme. But why would that even matter? Can you not update if you have custom themes?


moe
Re: 2.5.2 upgrade problem: [message #12250 is a reply to message #12248] Thu, 31 July 2003 22:35 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 Go to previous messageGo to next message
wwalker is currently offline  wwalker   United States
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 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 Go to previous messageGo to next message
wwalker is currently offline  wwalker   United States
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 #12256 is a reply to message #12255] Thu, 31 July 2003 23:04 Go to previous messageGo to next message
wwalker is currently offline  wwalker   United States
Messages: 10
Registered: July 2003
Karma: 0
Junior Member
found it.

There is an unescaped ' in the word "you're" on line 635 of login.php.


Thx for the help. Everything looks good now (including the missing forums for guest users Smile which was the reason for an urgent upgrade.


Wayne


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 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 #12258 is a reply to message #12257] Thu, 31 July 2003 23:07 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Heh, my message was just a few seconds too late Razz

FUDforum Core Developer
Re: 2.5.2 upgrade problem: [message #12259 is a reply to message #12257] Thu, 31 July 2003 23:12 Go to previous messageGo to next message
wwalker is currently offline  wwalker   United States
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 #12260 is a reply to message #12258] Thu, 31 July 2003 23:13 Go to previous messageGo to next message
wwalker is currently offline  wwalker   United States
Messages: 10
Registered: July 2003
Karma: 0
Junior Member
Thanks for the help, now got another issue.

My beta user forums, which were private for only users in the beta group are now public. Sad


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 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 Go to previous messageGo to next message
wwalker is currently offline  wwalker   United States
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 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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
Re: 2.5.2 upgrade problem: [message #12272 is a reply to message #12246] Fri, 01 August 2003 15:55 Go to previous messageGo to next message
Nightshade is currently offline  Nightshade   United States
Messages: 9
Registered: July 2003
Karma: 0
Junior Member
I just ran my upgrade, and I got this error:

Rebuilding user levels, message counts & last post ids
(consist.php) 1064: You have an error in your SQL syntax near 'WHERE id=2' at line 1
Query: UPDATE fud25_users SET u_last_post_id=18, posted_msg_count=10,level_id= WHERE id=2
Server Version: 3.23.53-log
[Referring Page] http://www.guild-magi.org/fud/adm/consist.php?rid=2&S=564688fcabd5c50cb 884a4b9903026a3

I reran the Forum Consistancy app from the admin page and got the same result. Any suggestions? It no longer gives me the option to run the SQL tool.
Re: 2.5.2 upgrade problem: [message #12273 is a reply to message #12272] Fri, 01 August 2003 16:47 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Replace your consist.php with the one at this URL:
http://cvs.prohost.org/c/index.cgi/FUDforum/getfile?v=1.50&f=install/ww w_root/adm/consist.php

Once that is done, re-run the cosnsitency checker.


FUDforum Core Developer
Re: 2.5.2 upgrade problem: [message #12274 is a reply to message #12246] Fri, 01 August 2003 16:55 Go to previous message
Nightshade is currently offline  Nightshade   United States
Messages: 9
Registered: July 2003
Karma: 0
Junior Member
Kool, thx boss Wink
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: 2.5.1 Upgrade Problem
Next Topic: 2.5.2 upgrade problem:
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 02:57:54 GMT 2024

Total time taken to generate the page: 0.02778 seconds