wow that sounds great. i wont be home tonight but expect it sometime soon for me. i really appreciate your help. heh, maybe you could expalin what went wrong too. :'o
2 2005-01-14 18:40
Re: update error (10 replies, posted in PunBB 1.2 troubleshooting)
well i setup a test server and turned on debug mode. http://www.thleague.no-ip.com/upload/userlist.php is kinda working.
the debug box says its some kind of a sql error. i was thinking it might just be easier to setup a new forum then updated it with the data from my old db. is there any good software for something like this?
3 2005-01-12 19:19
Re: update error (10 replies, posted in PunBB 1.2 troubleshooting)
ahh, just relized they block irc on my schools connection. ill be signed on aim sn: sporkit17.
4 2005-01-12 19:11
Re: update error (10 replies, posted in PunBB 1.2 troubleshooting)
ahh when i say i had mods i mean i had the EFAM, the private message system, and also the vote mod. whats the connection to the irc channel. are you on it now?
5 2005-01-12 19:04
Re: update error (10 replies, posted in PunBB 1.2 troubleshooting)
yes actually it did. i deleted everything except config.php and the img gallery. then i ran the upgrade script. it gave me a success message. after that i deleted $language out of config.php and added my secret key. im not even really sure what the key is all about. i only added that to config.php.
heres a snapshot of the db.
http://www.sporkit.com/misc_links/quick … t.php.html
its embarrassingly messy. the forum im concerned about is prefix forum_ , plain forum prefix without the _ is something i should have deleted a long time ago. also cpg prefexs are all for my photogallery.
6 2005-01-12 18:38
Topic: update error (10 replies, posted in PunBB 1.2 troubleshooting)
Notice: Undefined index: g_id in /files/sites/thleague/q_fix/include/functions.php on line 150
Notice: Undefined index: username in /files/sites/thleague/q_fix/include/functions.php on line 167
Notice: Undefined index: username in /files/sites/thleague/q_fix/include/functions.php on line 167
Notice: Undefined index: username in /files/sites/thleague/q_fix/include/functions.php on line 167
Notice: Undefined index: username in /files/sites/thleague/q_fix/include/functions.php on line 167
Notice: Undefined index: username in /files/sites/thleague/q_fix/include/functions.php on line 167
Notice: Undefined index: username in /files/sites/thleague/q_fix/include/functions.php on line 167
Notice: Undefined index: username in /files/sites/thleague/q_fix/include/functions.php on line 167
Notice: Undefined index: username in /files/sites/thleague/q_fix/include/functions.php on line 167
Notice: Undefined index: username in /files/sites/thleague/q_fix/include/functions.php on line 167
Notice: Undefined index: username in /files/sites/thleague/q_fix/include/functions.php on line 167
Notice: Undefined index: username in /files/sites/thleague/q_fix/include/functions.php on line 167
Notice: Undefined index: username in /files/sites/thleague/q_fix/include/functions.php on line 167
Notice: Undefined index: username in /files/sites/thleague/q_fix/include/functions.php on line 167
Notice: Undefined index: username in /files/sites/thleague/q_fix/include/functions.php on line 167
Notice: Undefined index: username in /files/sites/thleague/q_fix/include/functions.php on line 167
Notice: Undefined index: username in /files/sites/thleague/q_fix/include/functions.php on line 167
Notice: Undefined index: username in /files/sites/thleague/q_fix/include/functions.php on line 167
Notice: Undefined index: username in /files/sites/thleague/q_fix/include/functions.php on line 167
Notice: Undefined index: username in /files/sites/thleague/q_fix/include/functions.php on line 167
Notice: Undefined index: username in /files/sites/thleague/q_fix/include/functions.php on line 167
Notice: Undefined index: username in /files/sites/thleague/q_fix/include/functions.php on line 167
Notice: Undefined index: username in /files/sites/thleague/q_fix/include/functions.php on line 167
Notice: Undefined index: g_read_board in /files/sites/thleague/q_fix/index.php on line 30
Notice: Undefined index: g_search in /files/sites/thleague/q_fix/include/functions.php on line 240
Warning: ob_start(): output handler 'ob_gzhandler' cannot be used twice in /files/sites/thleague/q_fix/include/functions.php on line 909
i followed the directions exactly but am getting this error when i visit index.php. i have modded my boards pretty heavily and maybe this might be part of the problem.
7 2004-11-27 00:45
Re: where all that java at? (10 replies, posted in PunBB 1.2 troubleshooting)
darn. well maybe ill nitpick the java till i find a way to get rid of as many errors as i can.
8 2004-11-25 06:26
Re: where all that java at? (10 replies, posted in PunBB 1.2 troubleshooting)
yes i know. but if my body is in a different file then how should i still include these tags for the tpl file?
9 2004-11-24 00:14
Re: where all that java at? (10 replies, posted in PunBB 1.2 troubleshooting)
i tried adding the <pun_body> tag back to my site_header.php file but it doesnt recognize it. i get a little > at the top of my page. i think the java code i need is in header.php. i think im just gona copy it into my header file for now but i have everything in a nice little js file. this code has the php in it. o_o
my users are getting errors when they login or post and things like that.
10 2004-11-22 08:00
Re: where all that java at? (10 replies, posted in PunBB 1.2 troubleshooting)
ahh, ok ill do taht then. the initial ones were my fault anyway. whats the <pun_content_direction> and <pun_body> link to anyway?
11 2004-11-19 00:34
Topic: where all that java at? (10 replies, posted in PunBB 1.2 troubleshooting)
hi again. i created a template and basically just plopped punbb right in the middle of it.
my main.tpl looks like this.
<pun_include "../site_header.php">
<br>
<table align="center" width="600">
<tr>
<td>
<table class="punmain" cellspacing="1" cellpadding="4">
<tr class="punhead">
<td class="punhead">
<span class="puntitle"><pun_title></span><br>
<pun_desc>
</td>
</tr>
<tr>
<td class="puncon1">
<pun_navlinks>
<div align="right"><a target="_blank" href="http://www.f8klan.com/irc/chatpage.php">OPEN CHAT FEATURE</a></div>
<pun_status>
</td>
</tr>
</table>
<pun_announcement>
<pun_main>
<pun_footer>
<br>
</td>
</tr>
</table>
<pun_include "../site_footer.php">
i wrapped my site around it by including a header and footer. anybody know how i can get all this junk back into my header?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html dir="<pun_content_direction>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<pun_char_encoding>">
<pun_head>
</head>
<body<pun_body>>
my internet explorer users are getting bomb barded with java script errors.
www.thleague.com/forum
is where im working on it now.
12 2004-08-27 16:07
Re: get username over subdomain (4 replies, posted in PunBB 1.2 troubleshooting)
yea rick. im at thug.f8klan.com but want forums.f8klan.com to have access to the current users usersname and such.
13 2004-08-27 01:47
Re: admin cant update profile (2 replies, posted in PunBB 1.2 troubleshooting)
great idea. i feel guilty asking these questions when you guys come up with such a brilliant idea that i probably should have check first myself. i havent had time to mess with this yet (work work work) but will get back on how it goes.
thanks.
14 2004-08-27 01:45
Topic: get username over subdomain (4 replies, posted in PunBB 1.2 troubleshooting)
hello.
as im trying to organize my sites i ended up putting a few things into subdomains. my forums are over at forums.f8klan.com and the site im having problems with is at thug.f8klan.com.
as before when i was working with logged in users ive included what i think i need with this code.
define('PUN_TURN_OFF_MAINT', 1);
define('PUN_QUIET_VISIT', 1);
$pun_root = '../../forums/';
include $pun_root.'include/common.php';
include $pun_root.'include/parser.php';
the parser is working on the text and im not getting any error messages. at $pun_root im actually skipping back a few directories and right into the forums folder where forums.f8klan.com is.
i was thinking maybe $cookie_domain in config.php has something to do with all this but im not sure. if anybody can offer a suggestion i would love to hear it. thanks.
15 2004-08-18 18:20
Topic: admin cant update profile (2 replies, posted in PunBB 1.2 troubleshooting)
so it looks like im back again. if im using my administrator account and go to change my signature the board gives me this message.
Someone else has already registered with that username. Please go back and try a different username.
i installed the vote, access, and pm mods but am not sure why they might interfere with this. also i went to enable debug more but nothing seemed to happen.
any suggestions.
16 2004-08-18 18:11
Re: pm system wont display new messages (5 replies, posted in PunBB 1.2 troubleshooting)
your instructions just fine. the code just above where the included looks similar to code on another part of the board. my mistake though.
17 2004-08-14 00:56
Re: pm system wont display new messages (5 replies, posted in PunBB 1.2 troubleshooting)
silly me. i posted the require code in the wrong place. i thought i check it twice but it looks similar to another statement. completely my falut though.
thanks for the mod Chacmool!
18 2004-08-14 00:46
Re: pm system wont display new messages (5 replies, posted in PunBB 1.2 troubleshooting)
ok good idea. it seems that it does include header_new_message.php tries to execute the code when a new message appears but a variable must be different.
if i send a new message and use these echo statements this is what i get.
// Check for new messages
$result_messages = $db->query('SELECT COUNT(id) FROM '.$db->prefix.'messages WHERE showed=0 AND owner='.$cur_user['id']) or error('Unable to check for new messages', __FILE__, __LINE__, $db->error());
if ($db->result($result_messages, 0)){
$tpl_temp .= '<br><a class="punhot" href="message_list.php">'.$lang_pms['New messages'].'</a>';
echo ("should display new message<br>");
}
start hnm
check new message
should display new message
below require
19 2004-08-13 21:53
Topic: pm system wont display new messages (5 replies, posted in PunBB 1.2 troubleshooting)
if i send a message on my board everything seems to be working fine. however the header of my page doesnt display if a new message has arrived. i assume its something wrong either header_new_messages.php or header.php. i looked around but cant find what.
im using pms ver 1.1.1 and my board is 1.1.5. however i thought it might have something to do with my main.tpl. i basicly took the entire header out of it and replaced it with an include to my own. that means i the header of the actuall site is in a different directory and the javascript is there too.
if you have any suggestions i would love to hear them.
20 2004-08-13 19:04
Re: use punbb as a news scirpt (2 replies, posted in PunBB 1.2 discussion)
thanks. that did the trick for me. basicly i hid a forum and allowed only certain people to post in it with the efam. i had to change the sql statement for that i think. for some reason i had a little tourble unerstanding how it worked at first. you might want to include some better example in the documentaion on extrennews.php.
but thanks though.
www.socom.f8klan.com is where im using it. the forum it comes from is hidden.
21 2004-08-10 02:22
Topic: use punbb as a news scirpt (2 replies, posted in PunBB 1.2 discussion)
hello. basicly im using the forum access mod and hidding a topic. my idea is to let only mods and admins post in this catagory then take the first post from each topic and post it as a news entry on the front of my site. the only problem is when i select the posts from the database i have no way of determining which is the first post of the topic.
heres the sql statement i came up with. anybody have any ideas or suggestions?
SELECT * FROM forum_topics, forum_posts WHERE forum_topics.forum_id = 20 AND forum_posts.topic_id = forum_topics.forum_id
22 2004-07-30 23:19
Re: modding punbb for my site. (11 replies, posted in PunBB 1.2 discussion)
haha, yea thats my girlfriend.... i wish
23 2004-07-30 18:41
Re: modding punbb for my site. (11 replies, posted in PunBB 1.2 discussion)
http://www.sporkit.com/dsu/gallery/index.php
try uploading i gave anon access. small files usually work. bigger ones die. the files get put on the server but are corrupt.
24 2004-07-30 05:36
Re: modding punbb for my site. (11 replies, posted in PunBB 1.2 discussion)
im a little messed up i think. i posted a question on your test forum.
25 2004-07-27 19:11
Re: modding punbb for my site. (11 replies, posted in PunBB 1.2 discussion)
well i did code this comment and ranking system myself. http://www.f8klan.com/vids_game.php
the parser was the only thing i didnt make. i borrowed that from punbb. thats what actually gave me the idea. i know php and am beginning to understand how the forum works but theirs still alot of question i would probably have to ask on irc (if i could get ahold of rick ) coppermine was another thing i thought of. i just dont know how i would tie the userdatabase together. my users wouldnt remember two passwords or even bother registering twice.
i still think i would like to go with modifying punbb. if just to keep my information more centeralized.