Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 11803
Latest: VXP
New This Month: 2
New This Week: 0
New Today: 0
Stats
Total Posts: 41605
Total Topics: 7273
Most Online Today: 98
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 70
Total: 70

Author Topic: Error message: cannot access upload path  (Read 1180 times)

0 Members and 1 Guest are viewing this topic.

Offline robgratt

  • SMF Gallery Pro Customer
  • Member
  • *****
  • Posts: 15
    • View Profile
Error message: cannot access upload path
« on: June 07, 2021, 05:50:12 am »
Hi,

Tried searching for this but couldn't find anything.

Anyway, SMFGallery Pro installed perfectly and I:

- changed permission so that guests can't post
- changed permissions such that all images need moderator approval
- created two new categories in Gallery
- changed permissions in the 'gallery' folder to 777
- file size to be uplaed is 84k and is .jpg

Anyone any idea what I'm doing wrong?

Thanks, Rob

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15752
    • View Profile
Re: Error message: cannot access upload path
« Reply #1 on: June 07, 2021, 07:56:55 am »
What is your gallery path set under Admin -> Gallery Configuration
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline robgratt

  • SMF Gallery Pro Customer
  • Member
  • *****
  • Posts: 15
    • View Profile
Re: Error message: cannot access upload path
« Reply #2 on: June 07, 2021, 10:55:06 am »
Hi,

Thanks for the quick response.

Path is:

/var/www/vhosts/????????????.co.uk/???????????.online/forum/gallery/

Rob

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15752
    • View Profile
Re: Error message: cannot access upload path
« Reply #3 on: June 07, 2021, 12:09:00 pm »
Is that exact error message? Or is there more details


Does the path look similar to the ones under Server Settings other than the gallery.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline robgratt

  • SMF Gallery Pro Customer
  • Member
  • *****
  • Posts: 15
    • View Profile
Re: Error message: cannot access upload path
« Reply #4 on: June 08, 2021, 05:31:41 am »
Is that exact error message? Or is there more details  See attached image of the error dialog.


Does the path look similar to the ones under Server Settings other than the gallery.
Yes - I used the same format as the one for cache but obviously changed it to gallery.


Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15752
    • View Profile
Re: Error message: cannot access upload path
« Reply #5 on: June 08, 2021, 06:59:12 am »
That's bizaree. But i think your attachments path is wrong. Check in SMF's settings.

Does this error occur when making a post in your forum?
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline robgratt

  • SMF Gallery Pro Customer
  • Member
  • *****
  • Posts: 15
    • View Profile
Re: Error message: cannot access upload path
« Reply #6 on: June 08, 2021, 08:01:11 am »
Hi,

Thanks for the reply.

Yes, I can post to the forum without an attachment.

The path just shows going to the 'gallery' dir.  There are other dirs below this one.  Should uploaded files be placed in 'images' or 'fupload' or somewhere else?

Error log just says 'Cannot access attachments upload path!'  What IS the attachments upload path supposed to be?

Have temporarily set 'gallery' and all sub-dirs to 777.

Thanks for all the support so far.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15752
    • View Profile
Re: Error message: cannot access upload path
« Reply #7 on: June 08, 2021, 08:11:48 am »
That is so odd. I never seen the gallery ask for the attachments path...I don't store gallery files in the attachments folder.
The gallery stores files in the gallery folder directly. Or in subfolders in the gallery folder 0,1,2,3,4 etc as more  images are added.

But check the attachments path should be of the form like your site
/var/www/vhosts/????????????.co.uk/???????????.online/forum/attachments/



Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline robgratt

  • SMF Gallery Pro Customer
  • Member
  • *****
  • Posts: 15
    • View Profile
Re: Error message: cannot access upload path
« Reply #8 on: June 08, 2021, 08:39:30 am »
Hi,

Just a point of clarification:

You said "But check the attachments path should be of the form like your site
/var/www/vhosts/????????????.co.uk/???????????.online/forum/attachments/" <---attachments

But the original path was:

"/var/www/vhosts/??????????.co.uk/?????????.online/forum/gallery/"  <---- gallery

So wahich one should it be, please?

Thanks, Rob

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15752
    • View Profile
Re: Error message: cannot access upload path
« Reply #9 on: June 08, 2021, 08:58:32 am »
The attachments path under
Admin -> Attachments ->  Attachments and Avatars -> Attachment settings
/var/www/vhosts/????????????.co.uk/???????????.online/forum/attachments/


The path under Admin -> Gallery configuration should be
/var/www/vhosts/??????????.co.uk/?????????.online/forum/gallery/
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline robgratt

  • SMF Gallery Pro Customer
  • Member
  • *****
  • Posts: 15
    • View Profile
Re: Error message: cannot access upload path
« Reply #10 on: June 08, 2021, 10:05:40 am »
Hi,

I reset the attachments path and all works now!

Thanks for staying with me on this one.

Rob

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15752
    • View Profile
Re: Error message: cannot access upload path
« Reply #11 on: June 08, 2021, 10:06:22 am »
No problem glad to help
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
2545 Views
Last post February 15, 2009, 08:45:22 am
by SMFHacks
1 Replies
3471 Views
Last post November 28, 2009, 03:19:43 pm
by SMFHacks
10 Replies
9067 Views
Last post April 29, 2010, 03:59:04 pm
by SMFHacks
4 Replies
3842 Views
Last post July 24, 2010, 10:36:53 pm
by starcad
14 Replies
4630 Views
Last post February 06, 2015, 12:29:00 pm
by SMFHacks

+- Recent Topics

How to change the font on a photo in SMF Gallery Pro? by SMFHacks
November 18, 2021, 09:28:11 am

Bulk Upload Many Pictures - File Name by SMFHacks
November 17, 2021, 08:58:50 am

Schedule or direct download link by SMFHacks
November 16, 2021, 10:57:33 am

Download Expire by Vincent Volmer
November 16, 2021, 02:40:47 am

prettyurls - TroubleShooting.wiki by SMFHacks
November 14, 2021, 02:18:59 pm

Error With Delete Download by mickjav
November 10, 2021, 04:49:12 pm

No ads on left or right by coyote
November 08, 2021, 04:57:13 pm

Now accepting Cryptocurrency by SMFHacks
November 05, 2021, 05:33:27 pm

Latest Version Pretty Urls SEO Pro by SMFHacks
November 04, 2021, 03:46:53 pm

Downloads Pro 6.0 Released by mickjav
November 03, 2021, 05:13:47 pm

Powered by EzPortal