Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Admin Showing Wrong Path For Backup Script
backpages
post Apr 27 2012, 07:45 AM
Post #1


Enthusiast
***

Group: Members
Posts: 75
Joined: 5-April 07
Member No.: 1,065



Reputation:   0  


I'm using 2.1.1, build 10874.

Under Admin>Data Backup & Restore the Backup Script Path is shown as:
Backup Script Path: /home/content/81/4353181/html/store/backup.sh

I know for a fact that the backup.sh file is NOT directly inside the store folder. It is inside the avactis-system folder which is inside the store folder. Why is this backup path showing incorrectly? Can I fix it? If the last part is wrong how do I know the rest of it is not also wrong?

Thanks for any help or insight.
Go to the top of the page
  
+Quote Post
Lana
post Apr 27 2012, 07:52 AM
Post #2


Devotee
****

Group: Members
Posts: 123
Joined: 3-September 10
Member No.: 5,564



Reputation:   6  


Hi,

to correct the paths displayed in the Backups section, open this file:

avactis-system\admin\templates\modules\tools\backup\container.tpl.html

and find the following line:

<b>Backup Script Path:</b> <code><?php echo dirname(dirname(dirname(__FILE__))).'/backup.sh' ?></code>
<br>
<b>Restore Script Path:</b> <code><?php echo dirname(dirname(dirname(__FILE__))).'/restore.sh' ?></code>

Replace

dirname(dirname(dirname(__FILE__))).'

with

'/home/content/81/4353181/html/store/avactis-system
Go to the top of the page
  
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 26th May 2013 - 12:27 AM