Copy DB and Webpages
Posted: Wed Jun 06, 2012 8:33 am
Is it straight forward to copy the asterisk database (with privlages and all) onto a new mySQL, and copy the htdocs pages for Vicidial already setup on my existing server, to doing page modifications from my computer.
Such that edit pages stored on my computers web server, with out touching the working server.
--ViciBox Redux 3.1.15 initial install--
vicidial 2.4-364a
BUILD: 120409-1136
Asterisk v.1.4.39.2-vici
Have copied off the astGUI webpages. they load they admin and welcome screens fine. it querying local for the database, so tried to copy over database. though it seams to say failed in the import process. however all data stored, database created. privliages copied over?
is there something im missing?
my machines runnning Apache 2.2.21 VC9, php 5.3.9
Could this be the version on php that im running? get the following page error, also got error when changed DB config file from localhost to server ip, with different username and password
<code>
Notice: Undefined variable: use_slave_server in C:\web\vicidial\dbconnect.php on line 54
Notice: Undefined index: PHP_AUTH_USER in C:\web\vicidial\admin.php on line 103
Notice: Undefined index: PHP_AUTH_PW in C:\web\vicidial\admin.php on line 104
Notice: Undefined variable: dial_status in C:\web\vicidial\admin.php on line 1737
Notice: Undefined variable: DB in C:\web\vicidial\admin.php on line 1747
Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\web\vicidial\admin.php on line 1748
Notice: Undefined variable: adaptive_latest_server_time in C:\web\vicidial\admin.php on line 1797
Deprecated: Function ereg_replace() is deprecated in C:\web\vicidial\admin.php on line 1797
Notice: Undefined variable: admin_hangup_enabled in C:\web\vicidial\admin.php on line 1798
------- a lot of similer looking code, which ends up over the limimt of 60k characters for the forum-----
Deprecated: Function ereg_replace() is deprecated in C:\web\vicidial\admin.php on line 2625
Notice: Undefined variable: carrier_description in C:\web\vicidial\admin.php on line 2626
Deprecated: Function ereg_replace() is deprecated in C:\web\vicidial\admin.php on line 2626
Deprecated: Function ereg_replace() is deprecated in C:\web\vicidial\admin.php on line 2627
Deprecated: Function ereg_replace() is deprecated in C:\web\vicidial\admin.php on line 2628
Deprecated: Function ereg_replace() is deprecated in C:\web\vicidial\admin.php on line 2629
Notice: Undefined variable: blind_monitor_message in C:\web\vicidial\admin.php on line 2630
Deprecated: Function ereg_replace() is deprecated in C:\web\vicidial\admin.php on line 2630
Deprecated: Function ereg_replace() is deprecated in C:\web\vicidial\admin.php on line 2631
Deprecated: Function ereg_replace() is deprecated in C:\web\vicidial\admin.php on line 2632
Deprecated: Function ereg_replace() is deprecated in C:\web\vicidial\admin.php on line 2633
Notice: Undefined variable: modify_url in C:\web\vicidial\admin.php on line 2634
Deprecated: Function ereg_replace() is deprecated in C:\web\vicidial\admin.php on line 2634
Deprecated: Function ereg_replace() is deprecated in C:\web\vicidial\admin.php on line 2635
Deprecated: Function ereg_replace() is deprecated in C:\web\vicidial\admin.php on line 2636
Deprecated: Function ereg_replace() is deprecated in C:\web\vicidial\admin.php on line 2637
Notice: Undefined variable: force_logout in C:\web\vicidial\admin.php on line 3099
Notice: Undefined variable: DB in C:\web\vicidial\admin.php on line 3113
Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\web\vicidial\admin.php on line 3114
Notice: Undefined variable: DB in C:\web\vicidial\admin.php on line 3131
Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in C:\web\vicidial\admin.php on line 3134
Notice: Undefined variable: DB in C:\web\vicidial\admin.php on line 3138
Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in C:\web\vicidial\admin.php on line 3140
Notice: Undefined variable: SSwebroot_writable in C:\web\vicidial\admin.php on line 3150
Warning: Cannot modify header information - headers already sent by (output started at C:\web\vicidial\admin.php:1810) in C:\web\vicidial\admin.php on line 3159
Warning: Cannot modify header information - headers already sent by (output started at C:\web\vicidial\admin.php:1810) in C:\web\vicidial\admin.php on line 3160
Invalid Username/Password: |||
</code>
Such that edit pages stored on my computers web server, with out touching the working server.
--ViciBox Redux 3.1.15 initial install--
vicidial 2.4-364a
BUILD: 120409-1136
Asterisk v.1.4.39.2-vici
Have copied off the astGUI webpages. they load they admin and welcome screens fine. it querying local for the database, so tried to copy over database. though it seams to say failed in the import process. however all data stored, database created. privliages copied over?
is there something im missing?
my machines runnning Apache 2.2.21 VC9, php 5.3.9
Could this be the version on php that im running? get the following page error, also got error when changed DB config file from localhost to server ip, with different username and password
<code>
Notice: Undefined variable: use_slave_server in C:\web\vicidial\dbconnect.php on line 54
Notice: Undefined index: PHP_AUTH_USER in C:\web\vicidial\admin.php on line 103
Notice: Undefined index: PHP_AUTH_PW in C:\web\vicidial\admin.php on line 104
Notice: Undefined variable: dial_status in C:\web\vicidial\admin.php on line 1737
Notice: Undefined variable: DB in C:\web\vicidial\admin.php on line 1747
Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\web\vicidial\admin.php on line 1748
Notice: Undefined variable: adaptive_latest_server_time in C:\web\vicidial\admin.php on line 1797
Deprecated: Function ereg_replace() is deprecated in C:\web\vicidial\admin.php on line 1797
Notice: Undefined variable: admin_hangup_enabled in C:\web\vicidial\admin.php on line 1798
------- a lot of similer looking code, which ends up over the limimt of 60k characters for the forum-----
Deprecated: Function ereg_replace() is deprecated in C:\web\vicidial\admin.php on line 2625
Notice: Undefined variable: carrier_description in C:\web\vicidial\admin.php on line 2626
Deprecated: Function ereg_replace() is deprecated in C:\web\vicidial\admin.php on line 2626
Deprecated: Function ereg_replace() is deprecated in C:\web\vicidial\admin.php on line 2627
Deprecated: Function ereg_replace() is deprecated in C:\web\vicidial\admin.php on line 2628
Deprecated: Function ereg_replace() is deprecated in C:\web\vicidial\admin.php on line 2629
Notice: Undefined variable: blind_monitor_message in C:\web\vicidial\admin.php on line 2630
Deprecated: Function ereg_replace() is deprecated in C:\web\vicidial\admin.php on line 2630
Deprecated: Function ereg_replace() is deprecated in C:\web\vicidial\admin.php on line 2631
Deprecated: Function ereg_replace() is deprecated in C:\web\vicidial\admin.php on line 2632
Deprecated: Function ereg_replace() is deprecated in C:\web\vicidial\admin.php on line 2633
Notice: Undefined variable: modify_url in C:\web\vicidial\admin.php on line 2634
Deprecated: Function ereg_replace() is deprecated in C:\web\vicidial\admin.php on line 2634
Deprecated: Function ereg_replace() is deprecated in C:\web\vicidial\admin.php on line 2635
Deprecated: Function ereg_replace() is deprecated in C:\web\vicidial\admin.php on line 2636
Deprecated: Function ereg_replace() is deprecated in C:\web\vicidial\admin.php on line 2637
Notice: Undefined variable: force_logout in C:\web\vicidial\admin.php on line 3099
Notice: Undefined variable: DB in C:\web\vicidial\admin.php on line 3113
Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\web\vicidial\admin.php on line 3114
Notice: Undefined variable: DB in C:\web\vicidial\admin.php on line 3131
Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in C:\web\vicidial\admin.php on line 3134
Notice: Undefined variable: DB in C:\web\vicidial\admin.php on line 3138
Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in C:\web\vicidial\admin.php on line 3140
Notice: Undefined variable: SSwebroot_writable in C:\web\vicidial\admin.php on line 3150
Warning: Cannot modify header information - headers already sent by (output started at C:\web\vicidial\admin.php:1810) in C:\web\vicidial\admin.php on line 3159
Warning: Cannot modify header information - headers already sent by (output started at C:\web\vicidial\admin.php:1810) in C:\web\vicidial\admin.php on line 3160
Invalid Username/Password: |||
</code>