Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.3 RN Issues
Author Message
spartan51
New Member
New Member



Joined: Jan 21, 2008
Posts: 1

PostPosted: Sun Jun 21, 2009 5:30 pm Reply with quote

Hello, after about a week of fixing errors, I have had different Parse errors stemming from a coppermine module that I have since removed, but this morning, I encountered another, on line 1870 of my mainfile.php. With other errors, I have been able to access other areas like the admin and forums module, but this one has given a different error for every module.

Code:
    // $X is optional whitespace/comments

    $X = "";
    $X .= "[$space$tab]*";                  // Nab whitespace
    $X .= "(?: $comment [$space$tab]* )*";  // If comment found, allow more spaces


    // Item 10: atom
    $atom_char = "[^($space)<>\@,;:\".$esc$OpenBR$CloseBR$ctrl$NonASCII]";
    $atom = "";
    $atom .= "$atom_char+";    // some number of atom characters ...
    $atom .= "(?!$atom_char)"; // ... not followed by something that
                               //     could be part of an atom

    // Item 11: doublequoted string, unrolled.
    $quoted_str = "";
    $quoted_str .= "\"";                            // "
    $quoted_str .= "$qtext *";                      //   normal
    $quoted_str .= "(?: $quoted_pair $qtext * )*";  //   ( special normal* )*
    $quoted_str .= "\"";                            //        "


    // Item 7: word is an atom or quoted string
    $word = "";
    $word .= "(?:";
    $word .= "$atom";        // Atom
    $word .= "|";            // or
    $word .= "$quoted_str";  // Quoted string
    $word .= ")";

    // Item 12: domain-ref is just an atom
    $domain_ref = $atom;


Hopefully someone can figure out whats going on because I've run out of ideas.

Thanks.
 
View user's profile Send private message
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Sun Jun 21, 2009 6:06 pm Reply with quote

Unless you have more modifications in mainfile.php just upload a new one from the download.

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
Dawg
RavenNuke(tm) Development Team



Joined: Nov 07, 2003
Posts: 928

PostPosted: Mon Jun 22, 2009 6:26 am Reply with quote

Read throught this thread.....

Tools to do the job
http://www.ravenphpscripts.com/posts13423-highlight-tools.html


Beyond Compare is what you are looking for.

Dawg
 
View user's profile Send private message
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Thu Jun 25, 2009 8:23 pm Reply with quote

I can't see the error in that code, but can you point to which line is 1870 and is the error on the same line in each module, although the error message is different, or is it the other way around?

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.3 RN Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©