<? DEW-CODE.COM  

Downloads

Assorted scripts  (1)
DewNewPHPLinks  (9)





Lost Password?
No account yet? Register

Dew-Code Newsfeed

Resources


 USdigitalcable.com

Dew-Code
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Nothing work (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Nothing work
#1539
juice (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Nothing work 1 Year, 4 Months ago Karma: 0  
Ican acces to admin area and go to directory front page but nothing else i cant do any ideas where is the problem?? http://dreamcatchersartandcraft.com/directory/directory/

i just found this code thing below and i have try to upload to directory file i have make new file for that code but i cannot get it work, WHERE i need to paste that code??

QUOTE:
Clicking the links or trying to add a site just reloads the main page.

The likely cause is you are running a newer version of Apache than the script was developed under, or the Apache config has been tweaked, so that global variables the script expects aren't available, or use a different name. There are also some known problems with register globals being turned off.

Adding these lines near the top of the directory file *should* fix either of these causes.






if ($_POST['submit_add']){$show="add";}
if (empty($PATH_INFO)){$PATH_INFO = $_SERVER['PATH_INFO'];}
if (empty($PATH_INFO)){$PATH_INFO = $_SERVER["ORIG_PATH_INFO"];}
if (empty($PATH_INFO)){$PATH_INFO = $HTTP_SERVER_VARS['PATH_INFO'];}
if (empty($PATH_INFO)){$PATH_INFO = $_SERVER["REQUEST_URI"];}

Keep in mind, the directory file is actually a PHP file, it's just lacking the .php file extension. If you need to use an FTP program to download/upload the file for editing, be sure to use ASCII/plain text transfer method.
 
Report to moderator   Logged Logged  
 
Last Edit: 2011/01/05 10:18 By juice.
  The administrator has disabled public write access.
#1540
juice (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Nothing work 1 Year, 4 Months ago Karma: 0  
And one more thing how i can add all sub categories from admin section?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1541
Dewed (Admin)
Admin
Posts: 605
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:Nothing work 1 Year, 4 Months ago Karma: 9  
That is an older version, but can be salvaged, or you might consider grabbing the latest version from the downloads section.

Either way, creating a directory and naming it "directory", then installing the script to it is not recommended, since the script itself is named "directory"

Try renaming your "directory" directory to something else like
"resources" or "links"

Then triple check that the BASE URL and BASE PATH is set correctly in the admin configuration page.

BASE URL is the main address to your site
BASE PATH is the name of the directory you installed to
so for the demo install here http://www.dew-code.com/demo/

BASE URL : http://www.dew-code.com
BASE PATH : /demo

quoting the FAQ entry . . . .
QUOTE:

Keep in mind, the directory file is actually a PHP file, it's just lacking the .php file extension. If you need to use an FTP program to download/upload the file for editing, be sure to use ASCII/plain text transfer method.

Adding these lines near the top of the directory file *should* fix the "clicking link reloads main page" problem.

Code:

if ($_POST['submit_add']){$show="add";} if (empty($PATH_INFO)){$PATH_INFO = $_SERVER['PATH_INFO'];} if (empty($PATH_INFO)){$PATH_INFO = $_SERVER["ORIG_PATH_INFO"];} if (empty($PATH_INFO)){$PATH_INFO = $HTTP_SERVER_VARS['PATH_INFO'];} if (empty($PATH_INFO)){$PATH_INFO = $_SERVER["REQUEST_URI"];}
of course the latest version has this code already
 
Report to moderator   Logged Logged  
 
Last Edit: 2011/01/05 13:18 By Dewed.
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop
Outsource your projects to thousands of programmers at
ScriptLance.com
Newsflash
Interested in
advertising?

This space for rent!

Sign up for PayPal and start accepting credit card payments instantly.
Copyright Dew-Code 2008