PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
fext
New Member
New Member


Joined: Jul 03, 2007
Posts: 4

PostPosted: Wed Jul 04, 2007 6:54 am Reply with quote Back to top

Hi guys,

I am new to this site but i signed up for two reasons:

1. it was recommended by the guys at clan themes
2. for any errors i encounter with my new raven site.

Right down to the problem.

I had an error on my new site in subdirectory Raven
Only registered users can see links on this board!
Get registered or login to the forums!


I attempted to fix it and have made it worse.

I get the following errors when logging out:

Warning: main(includes/nmatch_functions.php) [function.main]: failed to open stream: No such file or directory in /home/***/public_html/Raven/mainfile.php on line 1357

Warning: main() [function.include]: Failed opening 'includes/nmatch_functions.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/***/public_html/Raven/mainfile.php on line 1357

Fatal error: Cannot redeclare makepass() in /home/***/public_html/Raven/modules/Your_Account/index.php on line 42


All i initially changed was the number for the security graphics in mainfile.php but it seems to have screwed it - and i have tried to restore the backup i made the previous night to no avail.

Originally there was a problem with the security GFX on new registrations page and i was looking at several sites to find a possible fix.

One pointed to the bottom part of the mainfile.php to change the image code from 75 to 9.

Prior to doing this i made a back up the previous night and also made another backup of that file to my desktop.

When i made the change i uploaded the mainfile.php to the server sub directory [host server / public_html / Raven / ] and since then the site does not work unless i point it to the admin URL.

If you point it to this address
Only registered users can see links on this board!
Get registered or login to the forums!
[<<< this will be the main start up page] it redirects to
Only registered users can see links on this board!
Get registered or login to the forums!


But if i am logged in as admin and then logout i get the above error [bolded].

When trying to fix this it still points to an error on line 42 of another file.

I really have no idea about this and why it has happend - all i changed was a number.

if you go here
Only registered users can see links on this board!
Get registered or login to the forums!
you will see the errors at the very top of the page.

The logout screen i get is this
Only registered users can see links on this board!
Get registered or login to the forums!


Not sure if you have any ideas.
I am using is RavenNuke.

BTW Reason i have two sites [in case anyone asks] is because my old site was an unstable install [www.neophytez.com] but is still running and the new site was a raven install - better security and more stable.

I am ready to wave the white flag and walk away from this. Sad
View user's profile Send private message
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 3136
Location: near Albany NY

PostPosted: Wed Jul 04, 2007 7:17 am Reply with quote Back to top

1. Just restore the mainfile.php from the distribution you downloaded.

2. What are you trying to change in mainfile? As far as I know, no changes to mainfile should be required. The settings for the gfx check are in rnconfig.php and are well documented there.
View user's profile Send private message Visit poster's website
fext
New Member
New Member


Joined: Jul 03, 2007
Posts: 4

PostPosted: Wed Jul 04, 2007 7:25 am Reply with quote Back to top

Will that rectify the problem?

Man I feel stupid!

See i have no idea to all this PHP / MySQL malarky - its all new to me so still learning.

Where is the documentation for the GFX check?
View user's profile Send private message
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 3136
Location: near Albany NY

PostPosted: Wed Jul 04, 2007 7:41 am Reply with quote Back to top

The documentation for the gfx check is right in the rnconfig file. You can set it to off and see if that resolves your problem, at least that will be an indicator. Eventually you will probably want to be running it with gfx on but at least that will tell where the problem is, or give a pointer.

If you are editing PHP files without knowing what you are doing, and particularly if you are not using a "decent editor" (search on that term here) you are very likely to get things all screwed up. That's a technical term we use ... all screwed up. But really, with RN there should be no need for you to edit mainfile and if you are applying edits suggested on other sites for other mainfiles you are very likely to get things all screwed up.
View user's profile Send private message Visit poster's website
fext
New Member
New Member


Joined: Jul 03, 2007
Posts: 4

PostPosted: Wed Jul 04, 2007 8:13 am Reply with quote Back to top

Cheers for the advice fella!

The reason i wanted to fix the GFX was that it was stopping members signing up as no code could be seen therefore no neew sign ups - thats where all of this stems from.

I know what you mean about PHP - I guess I believe in learning by doing.

Most of the edits i make come from text files that tell you on a 'how to' basis - other than that i would not go near it.

I am more CSS / HTML / Flash type of guy - more design than coder.

So the mainfile.php i got when i downloaded the raven zip will fix it?

See the problem is the site i had was heavily modded so it had stuff like gamertags, medals, ladders, leagues, minor module / block additions - would this play any effect on the mainfile.php?

Is this something you have encountered before?

I really appreciate the time you are taking to reply to my post and i will definately be staying put on here - got a few questions that you guys could help me with at some time - nothing as big as this - things such as welcome pm for new sign ups etc.
View user's profile Send private message
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 3136
Location: near Albany NY

PostPosted: Wed Jul 04, 2007 10:12 am Reply with quote Back to top

If you had mods to your previous mainfile that some of these add-ons depended on then you could be up the creek without a paddle. You could run a file comparison utility (search for options in posts here) and see what the changes are between the old mainfile you were using and RN. The RN one from the distribution will definitely work with the RN distribution. I'd recommend that you get things working with that and then we can address the GFX issue separately. You should NOT need to change mainfile to get GFX working but it does work differently in RN than it did in earlier versions of Nuke. I am not an expert on GFX and maybe some of the other moderators or other knowledgeable folks here can help with that but first let's get a good known version of mainfile running.
View user's profile Send private message Visit poster's website
fext
New Member
New Member


Joined: Jul 03, 2007
Posts: 4

PostPosted: Wed Jul 04, 2007 6:28 pm Reply with quote Back to top

The mainfile.php worked.

I have changed the config GFX bit to 6.

I cannot login to the admin area - I get some funny animation [http://www.neophytez.com/Raven/images/eyes.gif] with 'GET OUT' on the page under said animation and the title of the page saying 'INTRUDER ALERT!!!' does anyone know why?
View user's profile Send private message
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum