Find programmers and grapic design experts at ScriptLance.com
<? DEW-CODE.COM  
Dew-Code
Welcome, Guest
Please Login or Register.    Lost Password?
Add Site, Add Review & other stuff not working (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Add Site, Add Review & other stuff not working
#131
jnasta (User)
Senior Boarder
Posts: 59
graphgraph
User Offline Click here to see the profile of this user
Gender: Male John Nasta Photography Location: Brooklyn, NY
Add Site, Add Review & other stuff not working 5 Months ago Karma: 1  
Can anyone help shed some light on why I don't get the forms to show on the Add Site and Add Review pages?

http://linesofexcellence.com/links/directory

I can add sites from the admin side but not from the public side.

I have two sites in Arts & Humanities, but when I click the category name only the Featured Site shows.

If I do a search and then click Edit or Site Reviews on any of the results, I get a 404 error.

In some cases the file it is looking for is in the /include folder and the script seems to be looking for them in /directory. Is the base URL set wrong in admin or something? I clearly have a whole bunch of stuff that's not working.

Thanks for any help.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#135
Dewed (User)
Administrator
Posts: 194
graph
User Offline Click here to see the profile of this user
Dew-Code.com
Re:Add Site, Add Review & other stuff not working 5 Months ago Karma: 6  
From the FAQ ...
Edit the file named "directory" and add teh following lines..

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"];}

The first fixes $add not being populated due to register globals being turned off. The next 4 fix the $PATH_INFO variable either being named differently, in different versions of PHP, or simply being empty
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#138
jnasta (User)
Senior Boarder
Posts: 59
graphgraph
User Offline Click here to see the profile of this user
Gender: Male John Nasta Photography Location: Brooklyn, NY
Re:Add Site, Add Review & other stuff not working 5 Months ago Karma: 1  
I tried it. Doesn't seem to make any difference.

Was I supposed to fill in the path info or paste it as is?
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/05/09 13:45 By jnasta.
  The administrator has disabled public write access.
#141
jnasta (User)
Senior Boarder
Posts: 59
graphgraph
User Offline Click here to see the profile of this user
Gender: Male John Nasta Photography Location: Brooklyn, NY
Re:Add Site, Add Review & other stuff not working 5 Months ago Karma: 1  
Sorry, it actually does appear to be working. I was looking at the status bar and noticed that the URL had not changed there. Tried actually clicking it and guess what happened.

Good thing it was raining anyway because I spent the whole afternoon trying to fix something that wasn't broken

Ok, a little more tweaking but I think the client can take it from here as far as link & category management. In the meantime I'll try the same on another site. I'll bet it's much easier the second time.

John
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Newsflash

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