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

[Closed] Stray files in the root of the site

2 Posts
2 Users
2 Reactions
1,414 Views
dimalifragis
Posts: 2600
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
(@dimalifragis)
Famed Member
Joined: 6 years ago
[#50311]

Hi,

I almost had a heart attack. You create files in the root of the site and it took me hours to find the cause. 3 files.

Usergroups.php - 21.117 bytes - 14.09.23 at 19:38 - \Wp-content\Plugins\Wpforo\Classes\
17.580 file_put_contents(ABSPATH . '/logggging-UR.txt', print_r($usergroupid_role, true) . "\r\n", FILE_APPEND);

For god's sake guys ...


1 Reply
Robert
Posts: 10749
Admin
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
(@robert)
Support Team
Joined: 3 months ago

Hi @dimalifragis,

Great finding! No worries it'll be removed in the next update. At the moment you can remove the line manually.

File: /wpforo/classes/UserGroups.php

Remove the following lines:

file_put_contents(ABSPATH . '/logggging-R.txt', print_r($ugids, true) . "\r\n", FILE_APPEND);
file_put_contents(ABSPATH . '/logggging-UR.txt', print_r($usergroupid_role, true) . "\r\n", FILE_APPEND);
file_put_contents(ABSPATH . '/logggging-RL.txt', print_r($role, true) . "\r\n", FILE_APPEND);

Share: