Notifications
Clear all

wpForo 1.x.x [Solved] PHP error, need help

29 Posts
4 Users
7 Likes
1,978 Views
dimalifragis
Posts: 2577
(@dimalifragis)
Famed Member
Joined: 4 years ago

Folders 755 and Files 644 (not the opposite as you post above).

Still this should be somehow automatic from your hosting setup. Because you can't manually set each and every NEW file or folder created to a permission.

1 Reply
(@percysgrowroom)
Joined: 5 years ago

Noble Member
Posts: 1139

@dimalifragis

Ok so you mean the folder they have shown in the last post need to be 755, whislt the other need to be 644?Β 

Or I should set all folders to 755 and thier contents needs to be 644?Β 

Thanks for your help manΒ 

dimalifragis
Posts: 2577
(@dimalifragis)
Famed Member
Joined: 4 years ago

All folders should be 755 and all files 644. Usually the permission in lower level is inherited from the parent.

I mean, if a folder has 755, ALL child folders that are created inside should (automatically) have that.

And all files should be 644, usually from the hosting setup. Because it is impossible to know what files will be created IN a folder by a caching plugin (for example). All caching files should be 644.

Keep in mind that all that depends on hosting also. If you manually create a folder with Filezilla it should have 755 and if you manually create a file with Filezilla it should have 644. Without your intervention.

1 Reply
(@percysgrowroom)
Joined: 5 years ago

Noble Member
Posts: 1139

@dimalifragis Thanks mate I appreciate that, I will look at making sure all of the files in those folders are 644, and the folders are 755, on it now πŸ™‚

Posts: 1139
Topic starter
(@percysgrowroom)
Noble Member
Joined: 5 years ago

Everything is fine regarding the permisssions, but this folder isnt in the directory:

/wp-content/uploads/wpforo/cache/forum

And a lot of requests are going there, what can i do about that?Β 

5 Replies
dimalifragis
(@dimalifragis)
Joined: 4 years ago

Famed Member
Posts: 2577
Posted by: @percysgrowroom

Everything is fine regarding the permisssions, but this folder isnt in the directory:

/wp-content/uploads/wpforo/cache/forum

And a lot of requests are going there, what can i do about that?Β 

I have no idea about that, just checked and mine is there.

Maybe you need to disable and re-enable wpForo, now that you have proper permissions?

Β 

(@percysgrowroom)
Joined: 5 years ago

Noble Member
Posts: 1139

@dimalifragis thats scary bro lol

Just disable and reenable right?Β 

dimalifragis
(@dimalifragis)
Joined: 4 years ago

Famed Member
Posts: 2577

@percysgrowroom

Just DEACTIVATE not uninstall.

(@percysgrowroom)
Joined: 5 years ago

Noble Member
Posts: 1139

@dimalifragis Tried it mate, still no cache folder....

dimalifragis
(@dimalifragis)
Joined: 4 years ago

Famed Member
Posts: 2577
Posted by: @percysgrowroom

@dimalifragis Tried it mate, still no cache folder....

That could only mean an issue with permissions.

Β 

Posts: 1139
Topic starter
(@percysgrowroom)
Noble Member
Joined: 5 years ago

My site is much faster after moving the likes and visits table to mysam databases. Like half the speed, it was obviously a big part of the problemΒ 

Posts: 986
Moderator
(@martin)
Support Team
Joined: 8 years ago
Posted by: @percysgrowroom

Everything is fine regarding the permisssions, but this folder isnt in the directory:

/wp-content/uploads/wpforo/cache/forum

And a lot of requests are going there, what can i do about that?Β 

Check and create these folders manually if they don't exist:

  • /wp-content/uploads/wpforo/cache/forum
  • /wp-content/uploads/wpforo/cache/topic
  • /wp-content/uploads/wpforo/cache/post
  • /wp-content/uploads/wpforo/cache/tag
  • /wp-content/uploads/wpforo/cache/item
  • /wp-content/uploads/wpforo/cache/item/forum
  • /wp-content/uploads/wpforo/cache/item/topic
  • /wp-content/uploads/wpforo/cache/item/post
  • /wp-content/uploads/wpforo/cache/item/tag
  • /wp-content/uploads/wpforo/cache/item/option

Β 

Then create an empty index.html file in each folder.

Upload the attached .htaccess file in each folder (unzip and find the file).

Β 

1 Reply
(@percysgrowroom)
Joined: 5 years ago

Noble Member
Posts: 1139

@martin This sounds like a mission lol

Making the folders sound easy enough, but how to I create and index.html file?Β 

Also, im going to write anew html access file, can I add this one to that? I need make sur it has expired headers and all that too πŸ™‚Β 

I really appreciate your help everyone, the site is running so much better nowΒ 

Page 2 / 3