The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#102
|
||||
|
||||
Thanks FireFly!
|
#103
|
|||
|
|||
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 |
#104
|
||||
|
||||
Seems to be caused by running in safe mode, ask your host to turn it off.
|
#105
|
|||
|
|||
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 |
#106
|
||||
|
||||
This is the part that controls Safe Mode in php.ini:
Code:
; ; Safe Mode ; safe_mode = Off ; By default, Safe Mode does a UID compare check when ; opening files. If you want to relax this to a GID compare, ; then turn on safe_mode_gid. safe_mode_gid = Off ; When safe_mode is on, UID/GID checks are bypassed when ; including files from this directory and its subdirectories. ; (directory must also be in include_path or full path must ; be used when including) safe_mode_include_dir = ; When safe_mode is on, only executables located in the safe_mode_exec_dir ; will be allowed to be executed via the exec family of functions. safe_mode_exec_dir = ; open_basedir, if set, limits all file operations to the defined directory ; and below. This directive makes most sense if used in a per-directory ; or per-virtualhost web server configuration file. ; ;open_basedir = ; Setting certain environment variables may be a potential security breach. ; This directive contains a comma-delimited list of prefixes. In Safe Mode, ; the user may only alter environment variables whose names begin with the ; prefixes supplied here. By default, users will only be able to set ; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR). ; ; Note: If this directive is empty, PHP will let the user modify ANY ; environment variable! safe_mode_allowed_env_vars = PHP_ ; This directive contains a comma-delimited list of environment variables that ; the end user won't be able to change using putenv(). These variables will be ; protected even if safe_mode_allowed_env_vars is set to allow to change them. safe_mode_protected_env_vars = LD_LIBRARY_PATH Code:
safe_mode = Off Code:
safe_mode_gid = Off |
#107
|
||||
|
||||
VERY USEFUL! Just installed lesane's hack with it.
|
#108
|
|||
|
|||
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 |
#109
|
|||
|
|||
[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 ? |
#110
|
|||
|
|||
[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. |
#111
|
|||
|
|||
Just reinstalled this hack (with the new tbs.php) and all works fine on V2.2.6 with PHP4.1.2.
Darren. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|