Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Auto mysql backup errors


3 replies to this topic

#1 TolleyM

  • Community Member
  • 49 posts
  • Real Name:Mark Tolley

Posted 16 February 2011, 14:54

hi everyone

i am trying to use

http://www.oscommerce.com/community/contributions,3100

i like the idea of this as i can back up my db each night and get it emailed to me so its off the server

i have installed but each time it runs i get errors - does anyone know why?? - the errors i get are below and happy to post up any other info if needbe

basically i just want an add on or scipt that will back up my db each night and mail it to me

Errors below

Warning: include(includes/configure.php): failed to open stream: No such file or directory in /data/www/vhosts/geronimojones.com/httpdocs/includes/application_top_original.php on line 34

Warning: include(includes/configure.php): failed to open stream: No such file or directory in /data/www/vhosts/geronimojones.com/httpdocs/includes/application_top_original.php on line 34

Warning: include(): Failed opening 'includes/configure.php' for inclusion (include_path='.:') in /data/www/vhosts/geronimojones.com/httpdocs/includes/application_top_original.php on line 34

Warning: require(includes/functions/compatibility.php): failed to open stream: No such file or directory in /data/www/vhosts/geronimojones.com/httpdocs/includes/application_top_original.php on line 47

Warning: require(includes/functions/compatibility.php): failed to open stream: No such file or directory in /data/www/vhosts/geronimojones.com/httpdocs/includes/application_top_original.php on line 47

Fatal error: require(): Failed opening required 'includes/functions/compatibility.php' (include_path='.:') in /data/www/vhosts/geronimojones.com/httpdocs/includes/application_top_original.php on line 47



Line 34 is include('includes/configure.php');
Line 47 is require(DIR_WS_FUNCTIONS . 'compatibility.php');

#2 dennish

  • Community Member
  • 17 posts
  • Real Name:Dennis Hoffland
  • Gender:Male

Posted 25 April 2012, 12:10

Hello Mark,

You should check the paths as defined on line 34 (to configure.php) and 47 (to compatibility.php). The .php warnings indicate they are incorrect and as a result both files can't be found. I would suspect your settings in configure.php are not correct.

Kind regards,

Dennis

#3 DunWeb

  • Community Sponsor
  • 10,427 posts
  • Real Name:Chris Dunn
  • Gender:Male
  • Location:Tecumseh, Ontario, Canada N8N 1X8

Posted 25 April 2012, 12:23

@TolleyM

Also, application_top_original.php is NOT an osCommerce file. It sounds like a backup file.


Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

:|: Click Here to learn how I can help you with custom coding, add ons, security and templates :|:

:|: Need an Area Calculator, Pre-Paid Account, Virtual Pin, Auction or Layaway Add on ? Click Here :|:

#4 spooks

  • Community Member
  • 7,017 posts
  • Real Name:Sam
  • Gender:Male
  • Location:UK

Posted 25 April 2012, 13:50

You might have more luck with http://addons.oscommerce.com/info/8374 which can do want you want and more plus is a very easy install.
Sam

Remember, What you think I ment may not be what I thought I ment when I said it.

Contributions:


Auto Backup your Database, Easy way

Multi Images with Fancy Pop-ups, Easy way

Products in columns with multi buy etc etc

Disable any Category or Product, Easy way

Secure & Improve your account pages et al.