Author |
Message |
TheWyldeChild
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/cc4a4cc843a0886359373.gif)
Joined: Dec 02, 2005
Posts: 6
Location: Arizona
|
Posted:
Wed Dec 14, 2005 9:28 am |
|
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? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
Site Admin/Owner
![](modules/Forums/images/avatars/45030c033f18773153cd2.gif)
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Wed Dec 14, 2005 4:47 pm |
|
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)); |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
TheWyldeChild
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Dec 16, 2005 9:27 am |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
helix512
Hangin' Around
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Aug 07, 2006
Posts: 40
|
Posted:
Sat Aug 12, 2006 11:00 am |
|
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? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
gregexp
The Mouse Is Extension Of Arm
![](modules/Forums/images/avatars/458c161744a70db912a6e.jpg)
Joined: Feb 21, 2006
Posts: 1497
Location: In front of a screen....HELP! lol
|
Posted:
Sat Aug 12, 2006 12:27 pm |
|
Hmmm, Anywhere I can download that module? |
_________________ For those who stand shall NEVER fall and those who fall shall RISE once more!! |
|
![ICQ Number ICQ Number](themes/RavenIce/forums/images/lang_english/icon_icq_add.gif) |
![](themes/RavenIce/forums/images/spacer.gif) |
helix512
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Aug 12, 2006 2:08 pm |
|
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
helix512
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Aug 13, 2006 2:30 pm |
|
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! |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Aug 13, 2006 10:18 pm |
|
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
helix512
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Aug 13, 2006 10:49 pm |
|
thats a bit above me. lol.. ill just leave it off so i can use my 4nAblum thanks for the help ![Smile](modules/Forums/images/smiles/icon_smile.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
helix512
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Aug 15, 2006 1:18 pm |
|
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 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](modules/Forums/images/smiles/icon_smile.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
helix512
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Aug 16, 2006 9:29 am |
|
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](modules/Forums/images/smiles/icon_smile.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
gregexp
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Aug 16, 2006 5:33 pm |
|
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
helix512
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Aug 16, 2006 6:44 pm |
|
how do i do this? im kinda new to nuke but im learning kinda fast lol ![Razz](modules/Forums/images/smiles/icon_razz.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|