![]() |
Thanks FireFly! :D
|
I just switched servers and the template backup system doesn't work the same on the new server....
if there are no files in the templates directory, the backup system work fine. but if there are existing files with the same name and I try to do a backup to overwrite the files I get the following messages! Warning: SAFE MODE Restriction in effect. The script whose uid is 503 is not allowed to access ./templates/alinks.html owned by uid 0 in /home/virtual/site1/fst/var/www/html/forums/admin/adminfunctions.php on line 150 Warning: SAFE MODE Restriction in effect. The script whose uid is 503 is not allowed to access ./templates/alinks.html owned by uid 0 in /home/virtual/site1/fst/var/www/html/forums/admin/adminfunctions.php on line 158 Warning: fopen("./templates/alinks.html","w") - Success in /home/virtual/site1/fst/var/www/html/forums/admin/adminfunctions.php on line 158 Warning: Supplied argument is not a valid File-Handle resource in /home/virtual/site1/fst/var/www/html/forums/admin/adminfunctions.php on line 160 Warning: Supplied argument is not a valid File-Handle resource in /home/virtual/site1/fst/var/www/html/forums/admin/adminfunctions.php on line 162 this repeats over and over for each file it seems! any ideas would be appreciated. for now I just ftp and delete all previous files before doing backup -dave |
Seems to be caused by running in safe mode, ask your host to turn it off.
|
what happens if I am my host... is it easy to turn off or do I start searchin the net..
BTW great hack (like all of your hacks) and talk about support! I was barley done the post :) thanks |
This is the part that controls Safe Mode in php.ini:
Code:
; Code:
safe_mode = Off Code:
safe_mode_gid = Off |
VERY USEFUL! Just installed lesane's hack with it. :D
|
Hi, Chen.
A (simple) request: could it be possible to export - export only (not needed import...) - ALL TEMPLATES including default ones, for example with a differend prefix, suffix or directory ? I mean, if a template exists with more templatesetids (tipically 1 and -1), could it be possible to export both to different targets ? Obviously, this feature should be very very useful when upgrading VB, to perform an easier check of changes in the '-1' set, otherwise not exported... Thanks a lot. LMK Bye |
[QUOTE]Originally posted by Jawelin
[B]Hi, Chen. A (simple) request: could it be possible to export - export only (not needed import...) - ALL TEMPLATES including default ones, for example with a differend prefix, suffix or directory ? I mean, if a template exists with more templatesetids (tipically 1 and -1), could it be possible to export both to different targets ? |
[QUOTE]Originally posted by kippesp
Default templates can already be exported. After you've upgraded your PHP files, add a new template set. Then export the new set. |
Just reinstalled this hack (with the new tbs.php) and all works fine on V2.2.6 with PHP4.1.2.
Darren. |
All times are GMT. The time now is 07:20 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|