Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 My little script
Index -> Programming, PHP -> PHP Help
Goto page Previous  1, 2
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
JSBN




PostPosted: Sat Mar 27, 2004 8:59 pm   Post subject: (No subject)

idk?
Sponsor
Sponsor
Sponsor
sponsor
Amailer




PostPosted: Sat Mar 27, 2004 9:14 pm   Post subject: (No subject)

idk = i don't know
JSBN




PostPosted: Sun Mar 28, 2004 6:09 pm   Post subject: (No subject)

after changeing my phpbb root path to the correct one ('Forum/') i now get a new error
Quote:
Parse error: parse error in /homepages/43/d87567952/htdocs/Forum/includes/template.php(127) : eval()'d code on line 152
wtd




PostPosted: Sun Mar 28, 2004 6:38 pm   Post subject: (No subject)

Ok, if phpBB is using eval then it's no wonder you're getting errors.

I know, I sound like an elitist ivory tower academic programmer, but eval is just evil.
JSBN




PostPosted: Sun Mar 28, 2004 7:25 pm   Post subject: (No subject)

so..... how do i fix it?
Amailer




PostPosted: Sun Mar 28, 2004 7:41 pm   Post subject: (No subject)

JSBN wrote:
so..... how do i fix it?


well, first off all check your news.tpl see if you got anything messed up in there... phpBB template system is the best, nothing should be wrong with it.

(in the news.tpl or w/e its called, check if you missed <!-- BEGIN bla bla or something like that, and for {text bla} see if their messed up)
JSBN




PostPosted: Sun Mar 28, 2004 8:04 pm   Post subject: (No subject)

are there certain things that i cannot have on my .tpl page(tags)? I've encluded a copy of my .tpl file... actually supposedly i've reached my quota, so i'll just link it:

www.boelen.ca/Cary/News.zip
Amailer




PostPosted: Sun Mar 28, 2004 8:11 pm   Post subject: (No subject)

Ooo, k some mistakes here..

<!-- START ::: SERVER_STATUS -->
and
<!-- END ::: SERVER_STATUS -->

is wrong.. it's not start it's BEGIN, also i don't think you can have/need :::


<!-- BEGIN SERVER_STATUS -->
...
<!-- END SERVER_STATUS -->

then everything in between <!-- BEGIN SERVER_STATUS --> and <!-- END SERVER_STATUS -->, all the {L_POST1} like that have to be like this
{SERVER_STATUS.L_POST1}

*Edit: don't need to worie about the {SERVER_STATUS.L_POST1}, because it's not in the SERVER_STATUS...

it's case sensitive remember that.
Sponsor
Sponsor
Sponsor
sponsor
JSBN




PostPosted: Sun Mar 28, 2004 9:05 pm   Post subject: (No subject)

ok, i found the problem. It was that i had <Head> </head> tags. I gues php doesn't like them. Thanks for all ur help guys!
JSBN




PostPosted: Tue Mar 30, 2004 10:38 pm   Post subject: (No subject)

Ok, I'm having a REALLY weird problem. I changed one thing in a script of mine and as soon as i uploaded it, none of the label variables would pass onto my template, but the actuall script works. I know it's not the lang file or the template, because they both work fine with other scripts. I need someone's help to find this bug because i can't. I have included:
-The lang. file
-the template
-the script
-A SS

http://www.boelen.ca/Cary/Web%20Site.ace
Amailer




PostPosted: Tue Mar 30, 2004 11:29 pm   Post subject: (No subject)

first try putting all your lang variables in the
lang_main.php

see if it works.

also, what's $no_page_header = TRUE;
?

phpbb admin files don't have any headers either way... :S
JSBN




PostPosted: Wed Mar 31, 2004 1:49 pm   Post subject: (No subject)

Here's the thing, it was working fine (with both of those) yesterday, then i changed something Confused . I dont know what it was that i changed, but i changed something......
Display posts from previous:   
   Index -> Programming, PHP -> PHP Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 2 of 2  [ 27 Posts ]
Goto page Previous  1, 2
Jump to:   


Style:  
Search: