Notifications
Clear all

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

29 Posts
4 Users
7 Reactions
2,592 Views
dimalifragis
Posts: 2611
(@dimalifragis)
Famed Member
Joined: 5 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: 6 years ago

Noble Member
Posts: 1212

@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: 2611
(@dimalifragis)
Famed Member
Joined: 5 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: 6 years ago

Noble Member
Posts: 1212

@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: 1212
Topic starter
(@percysgrowroom)
Noble Member
Joined: 6 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: 5 years ago

Famed Member
Posts: 2611
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: 6 years ago

Noble Member
Posts: 1212

@dimalifragis thats scary bro lol

Just disable and reenable right? 

dimalifragis
(@dimalifragis)
Joined: 5 years ago

Famed Member
Posts: 2611

@percysgrowroom

Just DEACTIVATE not uninstall.

(@percysgrowroom)
Joined: 6 years ago

Noble Member
Posts: 1212

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

dimalifragis
(@dimalifragis)
Joined: 5 years ago

Famed Member
Posts: 2611
Posted by: @percysgrowroom

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

That could only mean an issue with permissions.

 

Posts: 1212
Topic starter
(@percysgrowroom)
Noble Member
Joined: 6 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: 992
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: 6 years ago

Noble Member
Posts: 1212

@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