vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Template Backup System! (https://vborg.vbsupport.ru/showthread.php?t=33072)

212rikanmofo 04-27-2002 09:28 AM

great hack, works great, except after i export, and then its done, i try hittint the [edit] button and i get a db error: it says this

Database error in vBulletin Control Panel 2.2.5:

Invalid SQL: SELECT templateid,templatesetid,title,template FROM template WHERE templateid=
mysql error: You have an error in your SQL syntax near '' at line 1

mysql error number: 1064

Date: Saturday 27th of April 2002 05:22:41 AM
Script: http://localhost/forum/forum/admin/t...it&templateid=
Referer: http://192.168.0.2/forum/admin/tbs.php


whats wrong? it only happens when i try to edit the original templates. but the ones in red and orange i can edit, just not the originals, why?

SWFans.net 04-29-2002 04:15 PM

One small thing I would like to see added to this hack, is the ability to delete exported files from the server that it creates. (This only applies when it creates its own folder. If I created the fodler and chmod it to 777 first through FTP I have no problem. But I made a typo in the destination folder once and it created its own folder which I am having a lot of difficulty removing)

Mainly because my FTP access gives me permission denied when I try to delete them myself after downloading them all.

It seems this program creates the templates and gives ownership to "web" on my server and on my virtial shared server, I don't have access to the "web" account, so removing the files is almost impossible.

Maybe it could be modified to create folders with 777 permissions?

Droopy 05-03-2002 09:33 AM

Installed and backup all my templates.
Works fine on my 2.2.5
Thanks

Keyser S?ze 05-18-2002 01:29 AM

when i try to export the templates i get this error

Warning: fopen("./templates/chat.html", "w") - Permission denied in /usr/home/emusa/emusanet.com/public_html/forums/admin/adminfunctions.php on line 158

Warning: Supplied argument is not a valid File-Handle resource in /usr/home/emusa/emusanet.com/public_html/forums/admin/adminfunctions.php on line 160

Warning: Supplied argument is not a valid File-Handle resource in /usr/home/emusa/emusanet.com/public_html/forums/admin/adminfunctions.php on line 162

Warning: fopen("./templates/chatmain.html", "w") - Permission denied in /usr/home/emusa/emusanet.com/public_html/forums/admin/adminfunctions.php on line 158

Warning: Supplied argument is not a valid File-Handle resource in /usr/home/emusa/emusanet.com/public_html/forums/admin/adminfunctions.php on line 160

Warning: Supplied argument is not a valid File-Handle resource in /usr/home/emusa/emusanet.com/public_html/forums/admin/adminfunctions.php on line 162

Warning: fopen("./templates/chatnoreg.html", "w") - Permission denied in /usr/home/emusa/emusanet.com/public_html/forums/admin/adminfunctions.php on line 158

Warning: Supplied argument is not a valid File-Handle resource in /usr/home/emusa/emusanet.com/public_html/forums/admin/adminfunctions.php on line 160

goes on for ages, i guess its every template gives a error msg

FWC 05-18-2002 02:38 AM

Make sure the folder you are backing the templates up to is set to 777.

Wolf42 05-29-2002 11:58 AM

Ops...
Since upgrade to PHP 4.2.0 the template-names are gone @ TBS like they do before patching the template.php freddie mentioned here @ vbulletin.com.

What do I have to do to fix that.

Admin 05-29-2002 12:04 PM

I'll release a fix shortly.

Wolf42 05-29-2002 12:11 PM

Just wondering nobody else found this "bug". Hhmmm... :D

Admin 05-30-2002 09:49 AM

Should be fixed now.

X3ON 05-30-2002 10:26 AM

verry nice :up:

[high]* X3ON clicks install button[/high]


All times are GMT. The time now is 08:04 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
  • Page Generation 0.01178 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete