Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 201
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 180
Total: 180

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

0 Members and 1 Guest are viewing this topic.

Offline robgratt

  • 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: 16436
    • 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

  • 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: 16436
    • 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

  • 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: 16436
    • 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

  • 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: 16436
    • 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

  • 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: 16436
    • 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

  • 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: 16436
    • 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
3445 Views
Last post February 15, 2009, 08:45:22 am
by SMFHacks
1 Replies
4933 Views
Last post November 28, 2009, 03:19:43 pm
by SMFHacks
10 Replies
10817 Views
Last post April 29, 2010, 03:59:04 pm
by SMFHacks
14 Replies
7270 Views
Last post February 06, 2015, 12:29:00 pm
by SMFHacks
1 Replies
980 Views
Last post February 04, 2023, 08:13:46 am
by SMFHacks

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal