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

Home » FUDforum » How To » No footer on page when logged out - why?...
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
No footer on page when logged out - why?... [message #22084] Wed, 12 January 2005 23:29 Go to next message
welshchris is currently offline  welshchris   United Kingdom
Messages: 35
Registered: December 2004
Karma: 0
Member
.... for some reason the footer will not appear on any forum pages when I'm viewing whilst logged out - Is there an obvious reason for this or have I made a cockup somewhere? Sad

When trying to read messages when logged out, I get the following error, but not when viewing the index page:

-----------
Fatal error: SQL Error has occurred, please contact the administrator of the forum and have them review the forum's SQL query log in /var/www/html/arsenalw/fudforum/index.php on line 58
-----------

Are the two things related?

Have a look at http://www.awimb.com/fudforum/ and you'll see what I mean.

Chris

[Updated on: Wed, 12 January 2005 23:31]

Report message to a moderator

Re: No footer on page when logged out - why?... [message #22098 is a reply to message #22084] Fri, 14 January 2005 18:23 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
Sounds like there is an error occuring causing the forum's execution to stop prematurely. Check the forum's error viewer control panel to see what is the actual SQL error that is occuring.

FUDforum Core Developer
Cheers Ilia... [message #22100 is a reply to message #22098] Sat, 15 January 2005 00:25 Go to previous messageGo to next message
welshchris is currently offline  welshchris   United Kingdom
Messages: 35
Registered: December 2004
Karma: 0
Member
.... this is what it says:


----------------
(/var/www/html/arsenalw/fudforum/index.php:130
/var/www/html/arsenalw/fudforum/theme/default/msg.php:1024
/var/www/html/arsenalw/fudforum/theme/default/msg.php:1321
/var/www/html/arsenalw/fudforum/index.php:1174
) 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(g1.group_cache_opt & 1) > 0 ORDER BY v.id' at line 5
Query: SELECT f.id, f.name, c.id FROM fud26_fc_view v INNER JOIN fud26_forum f ON f.id=v.f INNER JOIN fud26_cat c ON f.cat_id=c.id INNER JOIN fud26_group_cache g1 ON g1.user_id=0 AND g1.resource_id=f.id (g1.group_cache_opt & 1) > 0 ORDER BY v.id
_GET: t=msg&goto=124&rid=0&S=e9616e73b0d47ea1943a2e971008cb6d&th= 28&start=0&
Server Version: 4.1.8-log
[Referring Page] http://www.awimb.com/fudforum/index.php?t=threadt&frm_id=1&rid=0&am p;S=e9616e73b0d47ea1943a2e971008cb6d
--------------

I'll get my tech guy to have a look at it on Monday.

Chris
Re: Cheers Ilia... [message #22128 is a reply to message #22100] Mon, 17 January 2005 15:00 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
Fixed in CVS.

FUDforum Core Developer
Re: Cheers Ilia... [message #22217 is a reply to message #22128] Fri, 21 January 2005 00:36 Go to previous messageGo to next message
welshchris is currently offline  welshchris   United Kingdom
Messages: 35
Registered: December 2004
Karma: 0
Member
Ilia wrote on Mon, 17 January 2005 10:00

Fixed in CVS.


Ilia - Sorry for being stupid, but can you explain exactly what this means please? - Is there some sort of update I require? - What does 'CVS' stand for?

If I'm running 2.6.9 do I need to upgrade?

Chris
Re: Cheers Ilia... [message #22218 is a reply to message #22217] Fri, 21 January 2005 06:21 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
CVS = Concurrent Versions System. For more details, see http://www.gnu.org/software/cvs/

All FUDForum's code changes are listed at http://cvs.prohost.org/c/index.cgi/FUDforum/timeline

Best regards.

Frank
Thanks, but... [message #22220 is a reply to message #22218] Fri, 21 January 2005 10:06 Go to previous messageGo to next message
welshchris is currently offline  welshchris   United Kingdom
Messages: 35
Registered: December 2004
Karma: 0
Member
.... you have to bear in mind that I'm a total novice when it comes to this sort of thing.

Do I need to telnet to my server to do this or can it be done by ftp?

I looked at the updates page, and it seems you have to have some sort of login/password to access anything. Obviously I need to implement these updates in order to get my board working properly, but what I really need is a 'walk-through' of how to do it Sad

Hopefully somebody can assist.

Many thanks in advance, and sorry for being stupid Embarassed

Chris
Re: Thanks, but... [message #22223 is a reply to message #22220] Fri, 21 January 2005 14:32 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
Just download and run the upgrade script if you want to upgrade your forum.

FUDforum Core Developer
Ilia... [message #22224 is a reply to message #22223] Fri, 21 January 2005 14:54 Go to previous messageGo to next message
welshchris is currently offline  welshchris   United Kingdom
Messages: 35
Registered: December 2004
Karma: 0
Member
.... This causing me problems.

Do I need the upgrade script for 2.6.9 or the upgrade 2.6.10 dated 19.1.05???? (will the 19.1.05 file upgrade my board to 2.6.10?).

Also, when downloading the zip versions, winzip refuses to extract the files to my local directory - I get the following error messages:

-------------
Dll: C:\WINZIP\wz32.dll - 07/09/97 06:30
Extracting to "C:\FudForum\"
Use Path: yes Overlay Files: no
checkdir error: can't create C:/FudForum/FUDforum2/
unable to process C:/FudForum/FUDforum2//COPYING.
checkdir error: can't create C:/FudForum/FUDforum2/
unable to process C:/FudForum/FUDforum2//CREDITS.
checkdir error: can't create C:/FudForum/FUDforum2/
unable to process C:/FudForum/FUDforum2//upgrade.php.
checkdir error: can't create C:/FudForum/FUDforum2/
unable to process C:/FudForum/FUDforum2//UPGRADE_README.
-------------

This is starting to drive me crazy now! Mad

Can you be more specific please???

Chris
Re: Ilia... [message #22227 is a reply to message #22224] Fri, 21 January 2005 15: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
You need to download 2.6.10RC1 upgrade script.



FUDforum Core Developer
Done... [message #22228 is a reply to message #22227] Fri, 21 January 2005 15:33 Go to previous messageGo to next message
welshchris is currently offline  welshchris   United Kingdom
Messages: 35
Registered: December 2004
Karma: 0
Member
... but with major problems.

Ran the upgrade script as per instructions, BUT:

1). It has over-written all of my modified CSS Mad (Can I just recover the old .css file from the backup?)

2). I now get an error and am unable to read any messages while logged in to the forum:

--------------------
(/var/www/html/arsenalw/fudforum/index.php:125
/var/www/html/arsenalw/fudforum/index.php:221
/var/www/html/arsenalw/fudforum/theme/default/tree.php:705
/var/www/html/arsenalw/fudforum/index.php:1174
) 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND tr.user_id=2 LEFT JOIN fud26_read r ON r.thread_id=t.id AND r.user_id=' at line 17
Query: SELECT c.id AS cat_id, f.name, m.subject, t.id, t.forum_id, t.replies, t.rating, t.n_rating, t.root_msg_id, t.moved_to, t.thread_opt, t.root_msg_id, t.last_post_date, tn.thread_id AS subscribed, mo.forum_id AS md, tr.thread_id AS cant_rate, r.last_view, r2.last_view AS last_forum_view, tv.pos AS th_pos, tv.page AS th_page, m2.thread_id AS last_thread, (CASE WHEN g2.id IS NOT NULL THEN g2.group_cache_opt ELSE g1.group_cache_opt END) AS group_cache_opt FROM fud26_thread t INNER JOIN fud26_msg m ON m.id=t.root_msg_id INNER JOIN fud26_forum f ON f.id=t.forum_id INNER JOIN fud26_cat c ON f.cat_id=c.id INNER JOIN fud26_thread_view tv ON tv.forum_id=t.forum_id AND tv.thread_id=t.id INNER JOIN fud26_msg m2 ON f.last_post_id=m2.id LEFT JOIN fud26_thread_notify tn ON tn.user_id=2 AND tn.thread_id=109 LEFT JOIN fud26_mod mo ON mo.user_id=2 AND mo.forum_id=t.forum_id LEFT JOIN fud26_thread_rate_track tr ON tr.thread_id= AND tr.user_id=2 LEFT JOIN fud26_read r ON r.thread_id=t.id AND r.user_id=2 LEFT JOIN fud26_forum_read r2 ON r2.forum_id=t.forum_id AND r2.user_id=2 INNER JOIN fud26_group_cache g1 ON g1.user_id=2147483647 AND g1.resource_id=f.id LEFT JOIN fud26_group_cache g2 ON g2.user_id=2 AND g2.resource_id=f.id WHERE t.id=109
_GET: t=tree&goto=523&rid=2&S=c812a815de61cd4faee8dee08db4387e&
Server Version: 4.1.8-log
[Referring Page] http://www.awimb.com/fudforum/index.php?t=threadt&frm_id=1&rid=2&am p;S=c812a815de61cd4faee8dee08db4387e
--------------------

Something is wrong - How do I fix it?

PLEASE reply to my mails about opening a support contract Ilia! - I will go insane soon trying to sort this out myself! Confused

Chris
Re: Done... [message #22229 is a reply to message #22228] Fri, 21 January 2005 16:14 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
The old css was backed up, you can recover it from errors/.backup/ directory of the forum. This happened because the CSS file was updated to address some layout errors.

The query failure was tracked down and fixed.

Replace your tree.php.t with the one at this url:
http://cvs.prohost.org/c/index.cgi/FUDforum/getfile/install/forum_data/src/ tree.php.t?v=1.74

and rebuild the theme.


FUDforum Core Developer
Re: Done... [message #22230 is a reply to message #22229] Fri, 21 January 2005 16:38 Go to previous messageGo to next message
welshchris is currently offline  welshchris   United Kingdom
Messages: 35
Registered: December 2004
Karma: 0
Member
Thanks Ilia - The forum now works and the sql error is fixed Very Happy

I can't find the backed-up files though - I only have this directory with three files:

arsenalw/FUDforum_data/errors

UPGRADE_STATUS 0kb.
fud_errors 12kb.
sql_errors 687kb.

Can you give me the full path to the directory? - is it a hidden file that I'm not able to see with my ftp program?

Chris
Re: Done... [message #22231 is a reply to message #22230] Fri, 21 January 2005 18:29 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
the directory backup starts with a ., which makes it invisible to some ftp clients. Since you only need the forum.css.tmpl file, you can simply download it via the forum's file manager.

FUDforum Core Developer
Re: Done... [message #22232 is a reply to message #22231] Fri, 21 January 2005 19:29 Go to previous messageGo to next message
welshchris is currently offline  welshchris   United Kingdom
Messages: 35
Registered: December 2004
Karma: 0
Member
It seems to be invisible in the forum's file manager as well Ilia - the only files/dirs In can see are the three above, with the path: arsenalw/FUDforum_data/errors

Could you give me the full path? (or maybe the backup files were deleted somehow when the upgraqde script ran?

Chris
Re: Done... [message #22233 is a reply to message #22232] Fri, 21 January 2005 21:02 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
That directory definately does exist, the forum NEVER removes backups of templates.

You can make a simple webscript that will show you the full path to the file.

<?php
require "./GLOBALS.php";
echo
shell_exec("ls -lia {$DATA_DIR}/errors/.backup/forum.css.tmpl*");
?>


FUDforum Core Developer
Re: Done... [message #22234 is a reply to message #22233] Fri, 21 January 2005 22:12 Go to previous message
welshchris is currently offline  welshchris   United Kingdom
Messages: 35
Registered: December 2004
Karma: 0
Member
Ilia - I ran the script which gives the path as:

/var/www/html/arsenalw/FUDforum_data//errors/.backup/forum.css.tmpl_1106320 997

However, it does not appear my ftp program (what's with the 'double slash'?) and it doesn't appear in the forum file manager either Crying or Very Sad

The only way I could get the file was to make a link out of the url and download it that way, then reload to the correct place.


Thanks
Chris

[Updated on: Fri, 21 January 2005 22:19]

Report message to a moderator

  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Banner Images.
Next Topic: User File Upload Area?
Goto Forum:
  

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

Current Time: Fri Nov 22 15:41:43 GMT 2024

Total time taken to generate the page: 0.02925 seconds