Jump to content

Carsten

Members
  • Posts

    4
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Carsten's Achievements

Newbie

Newbie (2/6)

0

Reputation

  1. I did not solve it, so I made tests with Fieldset (Page). There also is a Repeaters section but with my fieldset. It's not what I wanted but the Fieldsets are deleted when I delete a page manually or via api so that there's no waste with orphaned folders and files. The stuff with the orphaned files and folders and entries in admin/Repeaters/ ... still exists and could not be detected with Ryans script (clean-files.php). Could this then be a bug? Thank you for your help Carsten
  2. @dragan Thank you, now orphaned directories are shown but not from repeaters. I deleted all pages and repeaters from pages and there still are some folders which are not shown as orphaned. I tried it with manually creating a folder e.g. "9999" and it was shown as orphaned. Then I created manually a file in a not orphaned folder and the file was shown as orphaned. So far so good. But these repeater stuff doesn't disapear and I don't know how to delete that stuff id: 3538 name: 1667137707-9667-6 ProcessWire\RepeaterPage Object ( [id] => 3538 [name] => 1667137707-9667-6 [parent] => /ppww/repeaters/for-field-155/for-page-0/ [template] => repeater_blog_repeater [name1110] => [status1110] => 1 [data] => Array ( [name1110] => [status1110] => 1 ) )
  3. Hi, I tried this because of troubles with orphaned files and repeater data and so on (see Orphaned repeater data?) I created the file clean-files.php in the root and pasted the code as given. The result is... Warning: session_set_save_handler(): Session save handler cannot be changed after headers have already been sent in /var/www/html/wire/core/WireSessionHandler.php on line 57 Warning: session_name(): Session name cannot be changed after headers have already been sent in /var/www/html/wire/core/Session.php on line 291 Warning: ini_set(): Session ini settings cannot be changed after headers have already been sent in /var/www/html/wire/core/Session.php on line 294 Warning: ini_set(): Session ini settings cannot be changed after headers have already been sent in /var/www/html/wire/core/Session.php on line 295 Warning: ini_set(): Session ini settings cannot be changed after headers have already been sent in /var/www/html/wire/core/Session.php on line 296 Warning: ini_set(): Session ini settings cannot be changed after headers have already been sent in /var/www/html/wire/core/Session.php on line 297 Warning: ini_set(): Session ini settings cannot be changed after headers have already been sent in /var/www/html/wire/core/Session.php on line 309 Fatal error: Uncaught Error: Call to undefined function wire() in /var/www/html/clean-files.php:7 Stack trace: #0 {main} thrown in /var/www/html/clean-files.php on line 7 Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/clean-files.php:1) in /var/www/html/wire/core/WireHttp.php on line 1688 I also tried it with namespace ProcessWire
  4. I tried a lot with automatic creation of pages and sub pages and adding repeaters for a shop and import of data with ProcessWire 3.0.200. I wondered about the increasing of page id's (even after deleting all before created pages), increasing of orphaned assets and I also found a lot of waste under Admin/Repeaters. I deleted all pages except home and a search page with no sub pages and 404. Even though there are a lot of entries regarding repeaters (regardless). Also there are hundreds of entries in the assets folder which where not deleted when using e.g. foreach ($pages("/shop")->children as $p) { $p->delete(true); } Any idea? Is there a maintenance tool? Thanks Carsten
×
×
  • Create New...