PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
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 Back to top

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: 14916
Location: Kansas

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

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 Visit poster's website AIM Address Yahoo Messenger
TheWyldeChild
New Member
New Member


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

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

Thank you Raven!
View user's profile Send private message Visit poster's website Yahoo Messenger
helix512
Hangin' Around


Joined: Aug 07, 2006
Posts: 40

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

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: 1465
Location: In front of a screen....HELP! lol

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

Hmmm, Anywhere I can download that module?
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
helix512
Hangin' Around


Joined: Aug 07, 2006
Posts: 40

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

i got the who is where off this site its ravens
i got the 4nablum off
Only registered users can see links on this board!
Get registered or login to the forums!
its the .91 and .92 update thats i have installed
View user's profile Send private message
helix512
Hangin' Around


Joined: Aug 07, 2006
Posts: 40

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

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 to the forums!
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 14916
Location: Kansas

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

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.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
helix512
Hangin' Around


Joined: Aug 07, 2006
Posts: 40

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

thats a bit above me. lol.. ill just leave it off so i can use my 4nAblum thanks for the help Smile
View user's profile Send private message
helix512
Hangin' Around


Joined: Aug 07, 2006
Posts: 40

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

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
View user's profile Send private message
helix512
Hangin' Around


Joined: Aug 07, 2006
Posts: 40

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

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
View user's profile Send private message
gregexp
The Mouse Is Extension Of Arm


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

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

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.
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
helix512
Hangin' Around


Joined: Aug 07, 2006
Posts: 40

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

how do i do this? im kinda new to nuke but im learning kinda fast lol Razz
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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-2008 by Raven
Proud to be listed at Lobo Links Web Directory

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 Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

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

zerosum