Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v1.x Distro
Author Message
TheWyldeChild
New Member
New Member



Joined: Dec 02, 2005
Posts: 6
Location: Arizona

PostPosted: Wed Dec 14, 2005 9:28 am Reply with quote

I went to make the changes to index.php and modules.php and I could not find

$home = 1; in index.php or $name = trim($name); in modules.php

Can you tell me where I need to add those include_once statements?
 
View user's profile Send private message Visit poster's website Yahoo Messenger
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Wed Dec 14, 2005 4:47 pm Reply with quote

In the 3.1 patches the following were changed.

$home=1; is now define('HOME_FILE', true);

$name=trim($name); is now $name = addslashes(trim($name));
 
View user's profile Send private message
TheWyldeChild







PostPosted: Fri Dec 16, 2005 9:27 am Reply with quote

Thank you Raven!
 
helix512
Hangin' Around



Joined: Aug 07, 2006
Posts: 40

PostPosted: Sat Aug 12, 2006 11:00 am Reply with quote

getting a weird error when i edit my module.php file

i find this line:

$name = trim($name);

and i insert this ine after it:

include_once('includes/RWH_wiw.inc.php');

but then if i try to open my 4nAblum i get this error:

Unable to Insert. MySQL said: 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 's')' at line 1

but if i remove that line the 4nAlbum works perfectly, any ideas?
 
View user's profile Send private message
gregexp
The Mouse Is Extension Of Arm



Joined: Feb 21, 2006
Posts: 1497
Location: In front of a screen....HELP! lol

PostPosted: Sat Aug 12, 2006 12:27 pm Reply with quote

Hmmm, Anywhere I can download that module?

_________________
For those who stand shall NEVER fall and those who fall shall RISE once more!! 
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
helix512







PostPosted: Sat Aug 12, 2006 2:08 pm Reply with quote

i got the who is where off this site its ravens
i got the 4nablum off www.warp-speed.de its the .91 and .92 update thats i have installed
 
helix512







PostPosted: Sun Aug 13, 2006 2:30 pm Reply with quote

here are the files you requested
if your able to help me that would be great thanks

Only registered users can see links on this board! Get registered or login!
 
Raven







PostPosted: Sun Aug 13, 2006 10:18 pm Reply with quote

helix512 wrote:
getting a weird error when i edit my module.php file

i find this line:

$name = trim($name);

and i insert this ine after it:

include_once('includes/RWH_wiw.inc.php');

but then if i try to open my 4nAblum i get this error:

Unable to Insert. MySQL said: 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 's')' at line 1

but if i remove that line the 4nAlbum works perfectly, any ideas?


Sounds like a variable naming clash. Compare the variables in the wiw block to the other application to see if they are stepping on each other.
 
helix512







PostPosted: Sun Aug 13, 2006 10:49 pm Reply with quote

thats a bit above me. lol.. ill just leave it off so i can use my 4nAblum thanks for the help Smile
 
helix512







PostPosted: Tue Aug 15, 2006 1:18 pm Reply with quote

ok can i ask for soem more help agian now that i turne dif off and walked away form ti for a bit. what do i need to look for in the 2 fmodules and an idea what it may be? im slowly learing alot fomr this site and hay maybe i can get this to work next Smile the weird thing si i had this and the 4nablum both working on php-nuke 7.9 befor i back dated it to ravenuke7.6. but any help woudl be great thanks Smile
 
helix512







PostPosted: Wed Aug 16, 2006 9:29 am Reply with quote

if any one can help me out on what raven say to look for please pm me so i can see if i can get this to work again. on 76 thanks Smile
 
gregexp







PostPosted: Wed Aug 16, 2006 5:33 pm Reply with quote

Raven is sudjesting that there might be a variable clash here.

IMO it might be $name. You need to call each variable so tell what its output is and at what time.
 
helix512







PostPosted: Wed Aug 16, 2006 6:44 pm Reply with quote

how do i do this? im kinda new to nuke but im learning kinda fast lol Razz
 
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.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v1.x Distro

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 ©