PDA

View Full Version : installing phplinkdirectory problems


krush
05-10-2006, 01:49 PM
hey

i purchased phplinkdirectory yesterday and managed to get it installed..

i setup some simple categories, which didnt work, then i found the 2 patches that fixed those problems (categories and the admin one).

i turned on the clean urls and it didnt work, turn them off and now i get a 500 internal error :mad:

ive even deleted and uploaded everything again.. i have a feeling its something to do with the .htaccess file, when i delete that file the install set up process page loads but i get this message at the top

Content visible to registered users only.
i guess i need the correct htaccess file maybe?

ive got a wordpress blog with clean urls set up ok.. i.e. name.com/blog/2006/02/22/name_of_blog_title/

some more details:

Content visible to registered users only.
anyone wanna lend a hand :( :confused:

Neticus
05-10-2006, 02:07 PM
Content visible to registered users only.

You mean patches from this list
http://www.phplinkdirectory.com/forum/showthread.php?t=1766 ?

If so then you're not using the latest version. 3.0.4 already has all these patches. Check your files what version number do they say?

krush
05-10-2006, 02:13 PM
i paid $25 yesterday and downloaded: phpLD_24-04-2006.zip :confused:

says version 3.0.4. in the admin area... but i still had to make those 2 fixes...

the site and clean urls seem to be working now.. wierd!

only error message i have now is on the admin pages

Content visible to registered users only. says that at the top of each page.. any ideas anyone?

Steven Myers
05-10-2006, 02:27 PM
krush: I could be wrong, as I don't run the 3.04 version yet, but try to delete the messages.tpl file, then reload the file from your computer back onto your website server.

Again, please note that I could be wrong, but it is a shot worth taking.

David
05-10-2006, 02:27 PM
Hey, if it is not too much trouble, we prefer you join the Supporters Forum for $10. There you can get a little more direct help. I haven't seen that error message before. I wonder if one of your files failed to upload?

Neticus
05-10-2006, 02:33 PM
If you're going to delete any message.tpl file try clearing the one in your temp/template file if you have any files in there.
Especially one saying /messages.tpl.php

David
05-10-2006, 02:34 PM
Yes, Neticus has good idea here

krush
05-10-2006, 02:36 PM
Content visible to registered users only.

Yep, it was just a simple file failing to upload :rolleyes:

I'll consider joining the 'Supporter Forum' in the next few days, still trying to work out if I can make my directory a success and worthwhile! ;)

krush
05-10-2006, 03:06 PM
Why is it that when I am on the 'submit.php' page all the navigational links, including the graphic logo, point to 'submit.php'.

Its the same with category pages, the 'Home' link and graphic logo in the top left hand corner all point to that very same category, not the index of the complete site. Surely its not meant to be like this!

David
05-10-2006, 03:07 PM
Are you using the default template?
What is the url of your site?

krush
05-10-2006, 03:12 PM
I'm using the theme 'Peppermint (http://www.phpldtemplates.com/freephpld.php)', what I'm going to do is edit some of the *.tpl files in the Peppermint 'template' folder so that the URLs are direct.

Update: which does work ( domain parked - link removed ), still got to edit the 'Home' link to go back to the index somehow.

Quade
05-10-2006, 03:55 PM
Content visible to registered users only.

I'm having the same CGI problem. I didn't apply any patches or do anything.

Do you know which file it was? Or did you just re-upload everything?

Thanks,

Quade

neurosis4u
05-10-2006, 06:01 PM
I`ve seen that you are using the 3.04 Version.
If you use the original peppermint, it will not work properly.This template is only for the versions before 3.04.
The code of 3.04 is very different fromt the versions before, so you have to completely overwork the peppermint... Try your search function for example.. it will not work...and there are many other problems...

David
05-10-2006, 06:14 PM
What is somewhat unfortunate is the template maker did not take the time to change the files for phpLD's more recent releases. I can tell you that several new templates are due out soon that will be compatable for phpLD 3.041

krush
05-10-2006, 07:19 PM
Content visible to registered users only.

yep, you're right fella :mad:

i didnt even check the search. its a shame because that template is real nice, i was gonna change the colors and the side bar :(

anyone know easy it is to port these templates :rolleyes:

anon
05-10-2006, 08:11 PM
Content visible to registered users only.
don't worry, i will hopefully have some templates soon. just hold tight.

{links no longer working - removed}

you can view what i currently have working live at {link no longer working - removed}
I am really busy so i only get to work on it a little at a time. so patience is a must. But until then... you're gonna have to grab a suppliment.

Rob

robsig
05-13-2006, 10:59 PM
I too downloaded that same version and am getting an internal error 500 (using godaddy.com). Others in the forum said godaddy works for them.

Is it safe to delete the htaccess file? Is that what you did originally to fix the problem?

Thanks,
Robert

Optimit
05-13-2006, 11:13 PM
Don't delete the .htaccess file. if you are using version 4.03, the open the htaccess and find the following.

Content visible to registered users only.
Change it to this.

Content visible to registered users only.

David
05-13-2006, 11:16 PM
From the Supporters Forum:
There may be more info to come on this from Boby, but it seems that one of the security measures we implemented in 3.04 is causing a problem for some installs.

The solution we have found so far is to open up .htaccess and locate the following:
Content visible to registered users only.

And comment this out like this:
Content visible to registered users only.

robsig
05-13-2006, 11:38 PM
Here's my new htaccess (I don't know why it's putting a # after the first line, is that significant?? I have tried to put on the 2nd line, but it keeps going back. Using NotePad. It looks right in Notepad, but when pasted here it keeps posting that # on the line before :( )

It definitely doesn't seemto like the .htaccess file.

Removing it causes it to work fine. Uploading it cause the 500 Error.

Any ideas?

#################################################
## PHP Link Directory - Apache Server Settings ##
#################################################
# Protect files and directories
<Files ~ "(\.(inc|inc.php|tpl|sql)|backup|files|images|inclu de|lang|libs(/.+)?|temp(/.+)?|templates(/.+)?)$">
Order deny,allow
Deny from all
</Files>
# Disable directory browsing
Options -Indexes
# Follow symbolic links in this directory
Options +FollowSymLinks
# Override PHP settings that cannot be changed at runtime
#php_value register_globals 0 #
php_value session.auto_start 0
# Customized error messages
# ( If you are running in a subfolder please add it, example: "directory/index.php?httpstatus=404" )
ErrorDocument 404 index.php?httpstatus=404
# Set the default handler
DirectoryIndex index.php
# URL rewrite rules
<IfModule mod_rewrite.c>
RewriteEngine On
## Details Link Page Rewrite##
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule (.*)detail/link-(.*).html$ detail.php [QSA,NC]
## Pagination Rewrite
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule (.*)page-(\d+)\.html$ $1/?p=$2 [PT,NC]
## Category redirect
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>

Optimit
05-13-2006, 11:45 PM
All of it looks fine, except this part.

# Override PHP settings that cannot be changed at runtime
#php_value register_globals 0 #
php_value session.auto_start 0

That should be like this.

# Override PHP settings that cannot be changed at runtime
#php_value register_globals 0
#php_value session.auto_start 0

robsig
05-13-2006, 11:47 PM
YEs that was significant. Edited in WordPad and it formatted it correctly. Seems to be working.

Thanks,
Robert