vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - SR Classifieds 1.0.2 Light (https://vborg.vbsupport.ru/showthread.php?t=112504)

tfw2005 04-11-2006 03:19 PM

Just installed on test site, working perfectly except one thing...

My uploaded images are not readable. Getting CHMODDED to 600. Thumbs are fine. Those are CHMODDED at 644 and show up.

Images are there on server, in both places, just not viewable in full item listing.

If I manually CHMOD the files to 644 or 777, they show up in ad listing.

/uploaded and /uploaded/thumbnails directories are CHMOD to 777. Double checked that.

Any idea what's triggering this?

Using the 1.0.2 version released today.

Thanks!

Gio~Logist 04-11-2006 04:26 PM

Quote:

Originally Posted by tfw2005
Just installed on test site, working perfectly except one thing...

My uploaded images are not readable. Getting CHMODDED to 600. Thumbs are fine. Those are CHMODDED at 644 and show up.

Images are there on server, in both places, just not viewable in full item listing.

If I manually CHMOD the files to 644 or 777, they show up in ad listing.

/uploaded and /uploaded/thumbnails directories are CHMOD to 777. Double checked that.

Any idea what's triggering this?

Using the 1.0.2 version released today.

Thanks!

It sounds like a problem with your ftp/CHMOD.

Double check that both the uploaded/ and uploaded/thumbnails are 777. Everything should be fine if they both are. It has nothing to do with the script itself.

tfw2005 04-11-2006 04:37 PM

They are.

Must have uploaded 1000 files over last couple days, all VB related. (installing a test upgrade forum). Installed about 15 hacks, some of which include CHMOD requirements. Did those, those work.

Have 4 other browser based image upload scripts running in various non-VB programs, all similar to yours, plus the VB attachment features running in a file system on my main and on my test. Same server, same domain/folders. Those work.

Ill keep checking on my end, Im just letting you know that all things here point toward a script issue.

Edit:

Are there any CHMOD requirements for functions_sr_classifieds_upload.php ?

Gio~Logist 04-11-2006 04:44 PM

Quote:

Originally Posted by tfw2005
They are.

Must have uploaded 1000 files over last couple days, all VB related. (installing a test upgrade forum). Installed about 15 hacks, some of which include CHMOD requirements. Did those, those work.

Have 4 other browser based image upload scripts running in various non-VB programs, all similar to yours, plus the VB attachment features running in a file system on my main and on my test. Same server, same domain/folders. Those work.

Ill keep checking on my end, Im just letting you know that all things here point toward a script issue.

Edit:

Are there any CHMOD requirements for functions_sr_classifieds_upload.php ?

No there aren't. Can you link me to your site so i can take a look?

Provide a test account if possible as well.

tfw2005 04-11-2006 04:51 PM

PMmed with info.

Gio~Logist 04-11-2006 04:56 PM

I have replied to your PM.

Quarterbore 04-11-2006 05:18 PM

Here are a couple more code hacks RE the WTS, WTT, etc...

If you want these to show on the default home page:

Open template: sr_classifieds_main:

find:

Code:

<div><b>$randomad[title]</b></a></div>
<div class="smallfont">by $randomad[username]</div>

Replace with:

Code:

<div><b>$randomad[type] $randomad[title]</b></a></div>
<div class="smallfont">by $randomad[username]</div>

Open template: sr_classifieds_newadbit

find:

Code:

<div><b><a href="sr_classifieds.php?do=ad&id=$newad[classifiedid]">$newad[title]</b></a></div>
Replace with:

Code:

<div><b><a href="sr_classifieds.php?do=ad&id=$newad[classifiedid]">$newad[type] $newad[title]</b></a></div>
I have moved this to my public forum now that I am more comfortable with the script and you can see it running on my website here:

http://www.timeshareforums.com/sr_classifieds.php

Also note, I added WTR (RENT) and LTR (Looking to Rent) as like my suggestion posted above.

tfw2005 04-11-2006 05:19 PM

Fatal error: Call to undefined function: imagegif() in ......./sr_classifieds/functions_sr_classifieds_upload.php on line 80

Also getting that error when attempting to upload Gifs. PNGs worked fine for upload, but same permission issues for full sized pngs.

Gio~Logist 04-11-2006 05:23 PM

Quote:

Originally Posted by tfw2005
Fatal error: Call to undefined function: imagegif() in ......./sr_classifieds/functions_sr_classifieds_upload.php on line 80

Also getting that error when attempting to upload Gifs. PNGs worked fine for upload, but same permission issues for full sized pngs.

That's probably because of that authorization issue you're having.

tfw2005 04-11-2006 05:29 PM

EDIT

My bad, previous comment came off rude. Not intentinon. However, that doesnt make any sense why one file type would not be defined while others are and work within the same exact file, and why only one folder on entire server has file creation issues, the one that stores the images created from this upload script.


All times are GMT. The time now is 02:24 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01584 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete