WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

Attached images do not appear

Version: 3.20
printPrint


Page: 1 2

Attached images do not appear
gemini
Forum Regular

Usergroup: Customer
Joined: Oct 30, 2003
Total Topics: 54
Total Posts: 200
Posted 07/25/05 - 08:29 PM:
quote post
#1
None of the attached images appearing in the listings. Looks like the template variable {LINKFILENAME} hasn't been changed.. don't know what's the problem.

Real Estate Business Directory
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6339
Posted 07/25/05 - 11:37 PM:
quote post
#2
Where exactly do you see a {LINKFILENAME}? I don't see it anywhere.

Edit: your other post indicated you were using old templates, so I'll presume you were again here and move this out of bug reports.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
gemini
Forum Regular

Usergroup: Customer
Joined: Oct 30, 2003
Total Topics: 54
Total Posts: 200
Posted 07/26/05 - 05:15 AM:
quote post
#3
I have a filename field in the links table and I was showing thumbnail/logo for some links - the column is emplty now and I don't see any other tables carying the same data. I still see the files in the attachments folder...

Real Estate Business Directory
gemini
Forum Regular

Usergroup: Customer
Joined: Oct 30, 2003
Total Topics: 54
Total Posts: 200
Posted 07/26/05 - 07:12 AM:
quote post
#4
Okay, I looked at the new displaylinks template and I see that it has reference to {ATTACHID} which probably is the id field in the attachments table - the table is emply right now.. what do I do? I don't know which image belongs to which id.. looks like the filename column in the links table has been dropped - it is emply too.. I was showing thumbnails as

src="attachments/{LINKFILENAME}"

now I have no records of them..

any suggestions?

Real Estate Business Directory
trued
Experienced

Usergroup: Customer
Joined: Oct 10, 2003
Total Topics: 19
Total Posts: 69
Posted 07/26/05 - 02:32 PM:
quote post
#5
I was having the same problem. The manual has been updated with the code for adding the thumbnail for an attachment. Add it just as it is there. It will look for the attachment and link id on its own, as long as there is an attachment available.
Search : thumbnail
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6339
Posted 07/26/05 - 02:56 PM:
quote post
#6
If the attachments table is empty, you haven't run the import which is linked in upgrade.php and mentioned in upgrade instructions.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
gemini
Forum Regular

Usergroup: Customer
Joined: Oct 30, 2003
Total Topics: 54
Total Posts: 200
Posted 07/26/05 - 04:03 PM:
quote post
#7
actually I did - it was a link on the buttom of the page after the upgrade was done. Any ideas on how I can re-do it since upgrade.php page doesn't show up for me anymore?

Real Estate Business Directory
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6339
Posted 07/27/05 - 05:33 AM:
quote post
#8
You have to fix whatever causes upgrade.php to not "show up"... as mentioned before, anything that could do that presumably breaks the rest of the script too. But saying that something doesn't show up is of course not very descriptive, could mean a 404 or some chmod-related 403 or most anything.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
gemini
Forum Regular

Usergroup: Customer
Joined: Oct 30, 2003
Total Topics: 54
Total Posts: 200
Posted 07/27/05 - 12:58 PM:
quote post
#9
I was trying to do $debug = 1; but it didn't help - I'm not getting any messages.. I checked my error log and found that comments.php was giving 403 - chmoded it to 666, than to 777 - didn't help - switched back to what it was. Any ideas on how I can debug this?

Real Estate Business Directory
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6339
Posted 07/27/05 - 08:09 PM:
quote post
#10
403 errors are filesystem matters. Usually they're chmods, like lunarpages gives 403s for any php file that isn't chmoded to 644. Other times it could be a host issue. But are you sure you're actually getting a 403 there? You wouldn't have to check an error log for that presumably, you'd see it in your browser, right?

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
gemini
Forum Regular

Usergroup: Customer
Joined: Oct 30, 2003
Total Topics: 54
Total Posts: 200
Posted 07/28/05 - 04:53 AM:
quote post
#11
No I didn't see it in my browser.. may be someone else did.. I just checked my error log to if there are any errors related to this upgrade. I don't know how to debug it to get it right.

Real Estate Business Directory
zewxr
Member

Usergroup: Customer
Joined: Jul 20, 2005
Total Topics: 9
Total Posts: 32
Posted 07/28/05 - 05:25 AM:
quote post
#12
for me on my v3.2 all attachment appears well ! with the multilanguage templates ! but ! when i change a link to put him in another category, i need to cancel first the attachment and after uplaod the attacment on the site in the final category sad

when you don't active the switch : Attachments directory as category tree

you don't have this trouble !

problem of chmod of the new directory tree in the attachment directory sad
zewxr
Member

Usergroup: Customer
Joined: Jul 20, 2005
Total Topics: 9
Total Posts: 32
Posted 07/28/05 - 08:35 AM:
quote post
#13
little precision ...

i can see all attacment only if i'm on my site with registration (admin o user) if i'm just a visitor .. the thumb don't appear GGRRRR bugs ...
zewxr
Member

Usergroup: Customer
Joined: Jul 20, 2005
Total Topics: 9
Total Posts: 32
Posted 07/28/05 - 08:44 AM:
quote post
#14
other precision ... with Firefox 1.0.4 i don't need to log me ... but with IE yes sad
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6339
Posted 07/28/05 - 03:34 PM:
quote post
#15
zewxr: no, you just need to read the manual entry which mentions the need for regeneration when you use that switch and take such actions.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Search thread for
Download thread as

Page: 1 2



You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.