Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Installation Help
Author Message
Psycho
Worker
Worker


Joined: May 27, 2006
Posts: 157

PostPosted: Sat Aug 12, 2006 6:49 pm Reply with quote

Almost got everything i want to work Rolling Eyes

Anyways, i downloaded the SQuery (Squery_4.5.1(pnc).zip) from the Only registered users can see links on this board! Get registered or login! or whatever its called:D

Part of the readme says this (i understand the rest of it!):

Installation
------------

To Install:
- The SQuery code is now fully integrated. The Standalone code is the base code. This can be accessed from any HTML or PHP page. Simply set the configuration options in the config.php file and link the index.php located in the SQuery directory from your website.
- the PHPNuke Module is based off the standalone code, you must have the standalone code in the directory called SQuery in your root PHPNuke directory.

Ok there is standalone code. i can find the config.php file and the index.php file, but i dont understand how i am to edit it. The sentence:

Quote:
link the index.php located in the SQuery directory from your website
does not make any sence to me at all! And when it talks about the standalone code in the directory, does it just mean upload the folder called SQuery into the root of my website?

Thanks! Razz
 
View user's profile Send private message Send e-mail
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 7:17 pm Reply with quote

OK, lets see the contents of the config file and lets see the index.php of the 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
Psycho
PostPosted: Sun Aug 13, 2006 8:27 am Reply with quote

i cant post the code on here because it tries to block my ip with sentinel..?
 
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Sun Aug 13, 2006 10:51 am Reply with quote

There have been some security vulnerabilities with SQuery - not sure they are are resolved.

From what it says, it just tells you to make a link to the standalone. Nothing about actually integrating into phpNuke

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

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Psycho
PostPosted: Sun Aug 13, 2006 3:55 pm Reply with quote

Hmm, so what am i supposed to do, i tried it anyway, and then tried activating the block and it makes my page go wierd, only showing the left blocks (not including the squery block) which i just added to the left!
 
evaders99
PostPosted: Mon Aug 14, 2006 12:29 am Reply with quote

What files are included in that package?
 
Psycho
PostPosted: Mon Aug 14, 2006 1:50 pm Reply with quote

threre are alot of files lol! the module, the block, admin images, an Squery folder containing images, index.php, .htaccess and a folder called "lib" with config.php in it etc..
 
Psycho
PostPosted: Fri Aug 25, 2006 3:55 pm Reply with quote

Hey had an advancement! now on the block it displays:

Bad Request
Your browser sent a request that this server could not understand.

Invalid URI in request GET ../modules.php HTTP/1.0

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.36 Server at Only registered users can see links on this board! Get registered or login! Port 80

Any ida how to solve?
 
Psycho
PostPosted: Fri Aug 25, 2006 4:15 pm Reply with quote

hmm now it says "you cant access this file directly"

I checked the module index.php and its set to PHP_SELF before anyone suggests that! and i changed it back to SCRIPT_NAME to check and that doesnt work either! Wink
 
Psycho
PostPosted: Fri Aug 25, 2006 5:44 pm Reply with quote

if (!eregi("modules.php", $_SERVER['PHP_SELF'])) { appears to be the line its referring about!
 
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9453
Location: Arizona

PostPosted: Sat Aug 26, 2006 6:28 am Reply with quote

Sounds to me like this script is not made to work with the later patch levels (3.1+). You may need to go back to the author and see if they have a newer version?

For block files, replace the initial IF at the top with:

if ( !defined('BLOCK_FILE') ) {
Header("Location: ../index.php");
die();
}


For the module, within the index.php, replace the initial IF at the top with:

if ( !defined('MODULE_FILE') )
{
die("You can't access this file directly...");
}


No guarantee this will work as, like I said, I think this script may be rather old...

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Psycho
PostPosted: Sat Aug 26, 2006 7:18 am Reply with quote

i got it off the squery website and it said it was their newest? lol!
 
Psycho
PostPosted: Sat Aug 26, 2006 7:24 am Reply with quote

hmm no change:(
 
Psycho
PostPosted: Sat Aug 26, 2006 7:43 am Reply with quote

ok heres an interesting fact! instead of typing in my web address where instructed i typed in another clans who has Squery just to test. and it shows my server in the block as it should.. Which i find odd? there must be somthing wrong with mine lol Razz
 
montego
PostPosted: Sat Aug 26, 2006 8:14 am Reply with quote

Sounds like you need to get your friend's block! Laughing
 
Psycho
PostPosted: Sat Aug 26, 2006 8:56 am Reply with quote

rofl wasnt my friend:) just a random one:) ill see what i can do. thanks again montego!
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Installation Help

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 ©