Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

HELP! Path and deletion problems. (BIG TIME)

Quote Reply
HELP! Path and deletion problems. (BIG TIME)
I installed the Links2 script.. seemed to work somewhat well, yet.. when I followed the script's instructions.. to the "T"...I'd highlight a link..and it would show as:
example (http://somesite.com/cgi-bin/links2/add.cgihttp://sometime.com/... etc...

I had to change a path to "" instead of /usr/http/doc/whatever...

Now, when I had the script somewhat working until I had enough., tried to delete the file and folder and wouldn't let me.

I had to come up with a solution, and so I did!

I had a script on the server that could do just about anything I couldn't do via Telnet. The final step was strangely enough, having to delete the final folder via an FTP session.

The folders in question were relative to the path, example:
/usr/http/docs/public_html/links2/pages/graphics//usr/http/docs/public_html/links2/pages/graphics/ "3 times"... bizarre yes?

You're telling me!...

Now, I find this script to be not well explained at all, and was most vague.

I've installed scripts before, and learned my lesson well at the beginning, to set my paths right, but this... THIS!!... was not acceptable.

Please, I hope this script gets re-written, I truly thought I could have worked with this, as I have a 6-12 month project I need to get underway in the next 2 months.

Any idea for something that will get me by for now?

By the way.. here's the stucture problem my sysadmin sent me:

[root@myhost public_html]# ls -al links2
drwxrwxrwx 3 myfolder myfolder 1024 Sep 30 18:13 links2

[root@myhost public_html]# ls -al links2/pages/
total 6
drwxrwxrwx 6 myfolder myfolder 1024 Sep 30 18:04 .
drwxrwxrwx 3 myfolder myfolder 1024 Sep 30 18:13 ..
drwxr-xr-x 2 nobody nobody 1024 Sep 30 17:45 graphic
drwxr-xr-x 3 nobody nobody 1024 Sep 30 17:45 home
drwxr-xr-x 2 nobody nobody 1024 Sep 30 17:45 promo1
drwxr-xr-x 2 nobody nobody 1024 Sep 30 17:50 test
Quote Reply
Re: HELP! Path and deletion problems. (BIG TIME) In reply to
I am unclear about what your problem is...please be more specific.

Regards,

Eliot Lee

Quote Reply
Re: HELP! Path and deletion problems. (BIG TIME) In reply to
The paths examples in the script were set in order to reflect my server paths.

When I'm at the main page, there's a link that says "add".
The url would came out as:
http://www.mysite.com/cgi-bin/links2/add.cgihttp://www.mysite.com/

Notice there's no space between "add.cgi" and http: at the end.

Plus, when building the pages, it was setting permissions to 0493... it took everything for me to delete the files and folders in order to try again. The server showed: I didn't have permission to delete them, even when I chmod'ed everything afterwards to 777.

I suspect the 644 and 666 permissions should have been all set to 777. I've been faced with a similar problem in the past.

Now, I can't elaborate on it any much further.. I've since deleted the whole thing off the server and been too much water gone under the bridge for me to remember at this point.

All I can say is that I followed the script's instructions to a "T", and did not work for me.

The script says to create the "header" and "footer" folders, yet, going in the readme.txt, the above said are in the plural form., says to create folders called "headerS" and "footerS".

And I quote the script:
# PATH of the header and footer directories. No Trailing Slash.
$db_header_path = $db_script_path . "/header";
$db_footer_path = $db_script_path . "/footer";


Readme.txt:
drwxr-xr-x (755) admin
drwxr-xr-x (755) headers # Must Create
drwxr-xr-x (755) footers # Must Create

I might try re-installing it, but at this point, am afraid to.

Sorry to bother you.

Thank you.
Roger