AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Solved] PHP error, need help

29 Posts
4 Users
7 Reactions
7,402 Views
dimalifragis
Posts: 2600
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@dimalifragis)
Famed Member
Joined: 6 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: 7 years ago

Noble Member
Posts: 1244
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@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: 2600
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@dimalifragis)
Famed Member
Joined: 6 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: 7 years ago

Noble Member
Posts: 1244
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@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: 1244
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@percysgrowroom)
Noble Member
Joined: 7 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: 6 years ago

Famed Member
Posts: 2600
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
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: 7 years ago

Noble Member
Posts: 1244
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@dimalifragis thats scary bro lol

Just disable and reenable right? 


dimalifragis
(@dimalifragis)
Joined: 6 years ago

Famed Member
Posts: 2600
dimalifragis
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@percysgrowroom

Just DEACTIVATE not uninstall.


(@percysgrowroom)
Joined: 7 years ago

Noble Member
Posts: 1244
dimalifragis
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

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


dimalifragis
(@dimalifragis)
Joined: 6 years ago

Famed Member
Posts: 2600
dimalifragis
dimalifragis
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Posted by: @percysgrowroom

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

That could only mean an issue with permissions.

 


Posts: 1244
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@percysgrowroom)
Noble Member
Joined: 7 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: 1003
Moderator
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@martin)
Support Team
Joined: 10 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: 7 years ago

Noble Member
Posts: 1244
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@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
Share: