Welcome to Geeklog, Anonymous Wednesday, November 06 2024 @ 11:01 pm EST

Geeklog Forums

PHP Dump: Weird Error


Status: offline

MicroTD

Forum User
Newbie
Registered: 03/17/06
Posts: 2
Location:Albuquerque, NM
confused
I installed PHP Dump because my hosting provider doesn't seem to support MySQLdump. When I click on the "DB Backup w.php" backup link, I get the error:

Text Formatted Code
Template Error: set_root: /home2/nmaphis/public_html/newsite/layout/TabularDynamics1.4.0/admin/database is not a directory.
Halted.
 


I can't even figure out why PHP Dump is so obsessed with my layout, and that directory isn't in the basic Geeklog Professional template. Any ideas? Question

I'm running Geeklog 1.4.0sr2 and PHP Dump 1.0. I'd install that extension that's also available here, but I don't think my host has Pear. I tried to enable Geeklog's Pear setting and the website stopped loading.

(P.S. If someone can help me with the MySQLdump problem, that would be great. I get this error:

Text Formatted Code
Incorrect path or mysqldump utility not executable.
Check $_DB_mysqldump_path definition in config.php.
Variable currently defined as: /usr/bin/mysqldump
 


When I do a "locate mysqldump" in SSH, I get, among other entries, "/usr/bin/mysqldump". And mysqldump executes when I use SSH.)
 Quote

Status: offline

ldfoo

Forum User
Junior
Registered: 05/10/04
Posts: 34
I got the same error and my search brought me here - It works fine if you create the "database" folder and add the two template files - listbackups.thml and listitem.thml - I think this just provides a template for the list of previous backups. To test, I created some dummy files and the backup worked although the lack of template did not list the previous backups - next step will be to work out what goes in the template files.
Of course, the functions.inc probably needs updating

Wink
 Quote

ldfoo

Anonymous
Just came across this professional theme in:

Toggle blocks version 1.0 9/28/2005
by Wayne Patterson
suprsidr@hotmail.com
http://www.4wiseguys.com/

The listbackups and listitem contents are:

Text Formatted Code

Contect of "listbackups.thml"

<table width="100%" border="0">
<tr>
  <th align="left">{lang_backupfile}</th>
  <th align="right">{lang_backupsize}</th>
</tr>
{backup_item}
</table>
<p>{number_backups}</p>


Content of "listitem.thml"

<tr>
  <td align="left">{backup_file}</td>
  <td align="right">{backup_size} <b>{lang_bytes}</b></td>
</tr>

 


It works Very Happy
 Quote

All times are EST. The time is now 11:01 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content