Author |
Message |
TheWyldeChild
New Member


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? |
|
|
|
 |
Raven
Site Admin/Owner

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)); |
|
|
|
 |
TheWyldeChild

|
Posted:
Fri Dec 16, 2005 9:27 am |
|
|
|
 |
helix512
Hangin' Around

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? |
|
|
|
 |
gregexp
The Mouse Is Extension Of Arm

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!! |
|
 |
 |
helix512

|
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 |
|
|
|
 |
helix512

|
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! |
|
|
|
 |
Raven

|
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. |
|
|
|
 |
helix512

|
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  |
|
|
|
 |
helix512

|
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  |
|
|
|
 |
helix512

|
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  |
|
|
|
 |
gregexp

|
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. |
|
|
|
 |
helix512

|
Posted:
Wed Aug 16, 2006 6:44 pm |
|
how do i do this? im kinda new to nuke but im learning kinda fast lol  |
|
|
|
 |
|