The vB Geek

Go Back   The vB Geek > vB Geek Products > Geek Article and Review System

Geek Article and Review System GARS is the mega popular system for turning forums into articles, tutorials, or even reviews.

Advertisement
This is an HTML example. Isn't it just wonderful?!?!
  Learn how to remove ads

Reply
 
Thread Tools Display Modes
  #1  
Old 06-10-2008, 04:04 AM
Cole Cole is offline
Junior Member
 
Join Date: Aug 2005
Posts: 16
Geek Article and Review System License Holder 
Default Incorrect Image Path

I am trying to fix this problem for a friend, and am unsure of how to remedy the problem.

Whenever I upload an image, it gives me a faulty path and seems as though it does not even upload it.

I uploaded a new article and got this path. Bear in mind there is no 0 folder in the one folder, nor is it created upon upload. All the folders in the directory are setup with proper permissions. It does not seem that things are even being uploaded, as I cannot find this file anywhere within that images folder.
http://www.traderslaboratory.com/for...702220test.jpg

I know I have the absolute paths setup correctly as well as the http paths in the settings. Attachments for vBulletin are working well, so I do not know what the problem is here.
Reply With Quote
  #2  
Old 06-10-2008, 05:25 PM
Morgan's Avatar
Morgan Morgan is offline
Administrator
 
Join Date: Jul 2006
Posts: 2,255
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

The number 10474 looks to be your userid and the /geek/gars/images/1/0/4/7/4/types directory is where thumb_12130702220test.jpg file should be stored. Check whether safe mode is on or off and that the following directories have 777 permissions:
  • /geek/gars/images
  • /geek/gars/images/1
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
  #3  
Old 06-11-2008, 11:46 AM
Cole Cole is offline
Junior Member
 
Join Date: Aug 2005
Posts: 16
Geek Article and Review System License Holder 
Default

Safe mode is off and those directories do have 777 permissions.
Reply With Quote
  #4  
Old 06-11-2008, 03:06 PM
Morgan's Avatar
Morgan Morgan is offline
Administrator
 
Join Date: Jul 2006
Posts: 2,255
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Strange, the fetch_path function in the geek_class_upload.php file is coded to create the needed directory structure. Are you sure the 'Absolute path to images folder' is correct in the GARS ACP settings? Is your server's /tmp directory world writable? Is 'Safe Mode Upload Enabled' accidentally set to yes in the vBulletin Options?
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
  #5  
Old 06-11-2008, 05:35 PM
Cole Cole is offline
Junior Member
 
Join Date: Aug 2005
Posts: 16
Geek Article and Review System License Holder 
Default

The /tmp directory is 777 and safe mode is off in all places.
Reply With Quote
  #6  
Old 06-11-2008, 06:24 PM
Morgan's Avatar
Morgan Morgan is offline
Administrator
 
Join Date: Jul 2006
Posts: 2,255
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Confused as well. Maybe you are being affected by this.

Another thing to check would be the ACP -> GARS -> Settings -> Usergroup Permission -> both 'Use gallery' and 'Upload header image' set to yes for your usergroup.

The only other thing I can think of is to manually create the following directories, if they do not already exist, making sure they all have 777 permissions, and then see if the upload will go.
  • /geek/gars/images
  • /geek/gars/images/1
  • /geek/gars/images/1/0
  • /geek/gars/images/1/0/4
  • /geek/gars/images/1/0/4/7
  • /geek/gars/images/1/0/4/7/4
  • /geek/gars/images/1/0/4/7/4/types

If that is a no-go as well, it's going to come down to throwing in a bunch of echo statements in the code to see where the hangup is.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
  #7  
Old 06-11-2008, 07:23 PM
Cole Cole is offline
Junior Member
 
Join Date: Aug 2005
Posts: 16
Geek Article and Review System License Holder 
Default

I actually tried that earlier, but out of desperation tried again with no luck.

I'm running PHP version 5.2.5 and MySQL version 4.1.22 if that would help at all.
Reply With Quote
  #8  
Old 06-11-2008, 07:27 PM
Morgan's Avatar
Morgan Morgan is offline
Administrator
 
Join Date: Jul 2006
Posts: 2,255
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Can anyone other than you upload?
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
  #9  
Old 07-07-2008, 06:00 AM
soultrader soultrader is offline
Member
 
Join Date: Sep 2006
Posts: 97
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default GARS Image Upload Issue

I am having issues with GARS when uploading images for my book reviews. The thumbnail constantly gets broken and no thumbnail image is being created in my file directory. As a result I have to manually create a .jpeg thumbnail and upload it into the appropiate directory. What is causing this?

I have chommoded all folders to 777 and still not working. Would appreciate if the admin can pm me so I can provie him the admin account to look into. Thank you
Reply With Quote
  #10  
Old 07-07-2008, 06:02 AM
soultrader soultrader is offline
Member
 
Join Date: Sep 2006
Posts: 97
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

This is a continuation of this thread here: http://www.thevbgeek.com/showthread....t=image+upload

Will appreciate a fix immediately.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wrong image path after changing the forum path stckhlm Geek Article and Review System 3 05-11-2009 05:54 PM
[Bug] Incorrect Ration Calculation KirbyDE Geek Article and Review System 1 06-17-2008 07:46 PM
Navbar - incorrect Forums Link kall Lizard Lounge 0 06-07-2007 01:11 AM
problem with template (path?) magnaromagna Geek Article and Review System 7 12-15-2006 11:29 AM
[fixed]Incorrect Totals sketch42 GeekMart 1 08-27-2005 07:24 AM


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


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.