Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simple Backups
#18
Tzvook Wrote:Hi
Is there any special cause for using __DIR__ instead of dirname(__FILE__)
@ inc/backup.php and backup_archive_formats.php ????????????
It's is supposed to be equivalent to dirname(__FILE__)

since it gives a white deth screen for the whole admin on php 5.2
__DIR__ began at php 5.3 ................

Replacing it made the WSOD go back to hell, but there are still a few "session already started' out there .... (php 5.2)
Hi Tzvook,

Thanks for the bug reports Smile

No, there's no particular reason I was using __DIR__, except that I was developing in PHP 5.3.x, and it was convenient.

I meant to replace all instances of __DIR__ with Simple Backups 1.0.3, but clearly missed some - I've just pushed a new release to Extend with all of them replaced.

Regarding the "session already started" errors - are you able to tell me more? When / where do they occur? If you enable / disable GSDEBUG, do they still occur?
Reed Murphy: www, email, github
Reply


Messages In This Thread
Simple Backups - by ReedMurphy - 2012-03-20, 11:40:12
RE: Simple Backups - by vasitellapahki - 2013-12-05, 22:56:28
RE: Simple Backups - by smsHH - 2017-05-04, 17:20:34
Simple Backups - by ccagle8 - 2012-03-20, 11:47:25
Simple Backups - by ReedMurphy - 2012-03-20, 11:56:47
Simple Backups - by Oleg06 - 2012-03-20, 14:45:58
Simple Backups - by ReedMurphy - 2012-03-20, 15:18:55
Simple Backups - by ReedMurphy - 2012-03-20, 15:57:23
Simple Backups - by Oleg06 - 2012-03-20, 22:57:44
Simple Backups - by Oleg06 - 2012-03-21, 01:51:01
Simple Backups - by ReedMurphy - 2012-03-21, 10:50:46
Simple Backups - by mikeh - 2012-03-21, 22:04:05
Simple Backups - by Beluga - 2012-03-22, 20:11:26
Simple Backups - by alienee2 - 2012-04-07, 13:23:20
Simple Backups - by ReedMurphy - 2012-04-10, 10:01:39
Simple Backups - by alienee2 - 2012-04-10, 11:45:30
Simple Backups - by ReedMurphy - 2012-04-12, 09:32:23
Simple Backups - by eataudio - 2012-04-13, 15:12:14
Simple Backups - by Tzvook - 2012-04-19, 05:20:30
Simple Backups - by ReedMurphy - 2012-04-19, 09:30:31
RE: Simple Backups - by Tzvook - 2012-11-11, 20:50:17
Simple Backups - by ReedMurphy - 2012-04-19, 09:35:49
Simple Backups - by chrsand - 2012-04-30, 22:33:00



Users browsing this thread: 1 Guest(s)