Author |
Message |
Psycho
Worker


Joined: May 27, 2006
Posts: 157
|
Posted:
Sat Aug 12, 2006 6:49 pm |
|
Almost got everything i want to work
Anyways, i downloaded the SQuery (Squery_4.5.1(pnc).zip) from the www.phpnuke-clan.com 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!  |
|
|
|
 |
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 7:17 pm |
|
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!! |
|
 |
 |
Psycho

|
Posted:
Sun Aug 13, 2006 8:27 am |
|
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
|
Posted:
Sun Aug 13, 2006 10:51 am |
|
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! |
|
|
 |
Psycho

|
Posted:
Sun Aug 13, 2006 3:55 pm |
|
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

|
Posted:
Mon Aug 14, 2006 12:29 am |
|
What files are included in that package? |
|
|
|
 |
Psycho

|
Posted:
Mon Aug 14, 2006 1:50 pm |
|
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

|
Posted:
Fri Aug 25, 2006 3:55 pm |
|
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 www.(mydomain).co.uk Port 80
Any ida how to solve? |
|
|
|
 |
Psycho

|
Posted:
Fri Aug 25, 2006 4:15 pm |
|
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!  |
|
|
|
 |
Psycho

|
Posted:
Fri Aug 25, 2006 5:44 pm |
|
if (!eregi("modules.php", $_SERVER['PHP_SELF'])) { appears to be the line its referring about! |
|
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Sat Aug 26, 2006 6:28 am |
|
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! |
|
|
 |
Psycho

|
Posted:
Sat Aug 26, 2006 7:18 am |
|
i got it off the squery website and it said it was their newest? lol! |
|
|
|
 |
Psycho

|
Posted:
Sat Aug 26, 2006 7:24 am |
|
|
|
 |
Psycho

|
Posted:
Sat Aug 26, 2006 7:43 am |
|
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  |
|
|
|
 |
montego

|
Posted:
Sat Aug 26, 2006 8:14 am |
|
Sounds like you need to get your friend's block!  |
|
|
|
 |
Psycho

|
Posted:
Sat Aug 26, 2006 8:56 am |
|
rofl wasnt my friend:) just a random one:) ill see what i can do. thanks again montego! |
|
|
|
 |
|