Hello, i lost my website due to a hosting account cancelation. now i bought the housting again
and i would like to keep my website the same way it was. sadly the back up i have is
a bit old , but i'm pretty sure it's a working back up.
i uploaded all the files via filezilla , and when i go to my site which is www.armandobarillas.com
i get these messages
Warning: require_once(/home/content/26/11594526/html/system/startup.php):
failed to open stream: No such file or directory in /home/somnik/public_html/index.php on line 21
Fatal error: require_once(): Failed opening required '/home/content/26/11594526/html/system/startup.php'
(include_path='.:/opt/alt/php54/usr/share/pear:/opt/alt/php54/usr/share/php') in /home/somnik/public_html/index.php on line 21
thank you for reading, any help will be much appreciated !!
and i would like to keep my website the same way it was. sadly the back up i have is
a bit old , but i'm pretty sure it's a working back up.
i uploaded all the files via filezilla , and when i go to my site which is www.armandobarillas.com
i get these messages
Warning: require_once(/home/content/26/11594526/html/system/startup.php):
failed to open stream: No such file or directory in /home/somnik/public_html/index.php on line 21
Fatal error: require_once(): Failed opening required '/home/content/26/11594526/html/system/startup.php'
(include_path='.:/opt/alt/php54/usr/share/pear:/opt/alt/php54/usr/share/php') in /home/somnik/public_html/index.php on line 21
thank you for reading, any help will be much appreciated !!
Check the config files and change the path to what your new host would require. A quick and dirty way is to log into your account with FTP and and see what the path is for your host and where the store is located.
i.e. /home/yourdirectoryname/public_html/catalog/
And ensure this is what is in your config files.
Mike
i.e. /home/yourdirectoryname/public_html/catalog/
And ensure this is what is in your config files.
Mike
cue4cheap not cheap quality
Hello Mike! , thank you very much for responding and helping , i am very new to this so i'm not understanding everything here. but this is what my config.php looks like (the one on the root)
define('DIR_APPLICATION', '/home/content/98/12954798/html/catalog/');
define('DIR_SYSTEM', '/home/content/98/12954798/html/system/');
define('DIR_DATABASE', '/home/content/98/12954798/html/system/database/');
define('DIR_LANGUAGE', '/home/content/98/12954798/html/catalog/language/');
define('DIR_TEMPLATE', '/home/content/98/12954798/html/catalog/view/theme/');
define('DIR_CONFIG', '/home/content/98/12954798/html/system/config/');
define('DIR_IMAGE', '/home/content/98/12954798/html/image/');
define('DIR_CACHE', '/home/content/98/12954798/html/system/cache/');
define('DIR_DOWNLOAD', '/home/content/98/12954798/html/download/');
define('DIR_LOGS', '/home/content/98/12954798/html/system/logs/');
i know i have to change something on config.php but i don't know what.
and maybe on admin/config.php too
remember i'm new!
define('DIR_APPLICATION', '/home/content/98/12954798/html/catalog/');
define('DIR_SYSTEM', '/home/content/98/12954798/html/system/');
define('DIR_DATABASE', '/home/content/98/12954798/html/system/database/');
define('DIR_LANGUAGE', '/home/content/98/12954798/html/catalog/language/');
define('DIR_TEMPLATE', '/home/content/98/12954798/html/catalog/view/theme/');
define('DIR_CONFIG', '/home/content/98/12954798/html/system/config/');
define('DIR_IMAGE', '/home/content/98/12954798/html/image/');
define('DIR_CACHE', '/home/content/98/12954798/html/system/cache/');
define('DIR_DOWNLOAD', '/home/content/98/12954798/html/download/');
define('DIR_LOGS', '/home/content/98/12954798/html/system/logs/');
i know i have to change something on config.php but i don't know what.
and maybe on admin/config.php too
remember i'm new!
Replace all occurrences of
with
and save. Ensure you do this both for your /config.php and /admin/config.php
Code: Select all
/home/content/98/12954798/html/
Code: Select all
/home/somnik/public_html/
Hello JAY6390! , see... i forgot to mention that this warning/error is old, since the site was already restored with the database
(old) Warning: require_once(/home/content/26/11594526/html/system/startup.php):
failed to open stream: No such file or directory in /home/somnik/public_html/index.php on line 21
Fatal error: require_once(): Failed opening required '/home/content/26/11594526/html/system/startup.php'
(include_path='.:/opt/alt/php54/usr/share/pear:/opt/alt/php54/usr/share/php') in /home/somnik/public_html/index.php on line 21
the new warning is
(new) Warning: require_once(/home/content/26/11594526/html/system/startup.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/98/12954798/html/admin/index.php on line 21
Fatal error: require_once() [function.require]: Failed opening required '/home/content/26/11594526/html/system/startup.php' (include_path='.:/usr/local/php5_3/lib/php') in /home/content/98/12954798/html/admin/index.php on line 21
(old) Warning: require_once(/home/content/26/11594526/html/system/startup.php):
failed to open stream: No such file or directory in /home/somnik/public_html/index.php on line 21
Fatal error: require_once(): Failed opening required '/home/content/26/11594526/html/system/startup.php'
(include_path='.:/opt/alt/php54/usr/share/pear:/opt/alt/php54/usr/share/php') in /home/somnik/public_html/index.php on line 21
the new warning is
(new) Warning: require_once(/home/content/26/11594526/html/system/startup.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/98/12954798/html/admin/index.php on line 21
Fatal error: require_once() [function.require]: Failed opening required '/home/content/26/11594526/html/system/startup.php' (include_path='.:/usr/local/php5_3/lib/php') in /home/content/98/12954798/html/admin/index.php on line 21
OK, well change
to
Code: Select all
/home/content/26/11594526/html/
Code: Select all
/home/content/98/12954798/html/
Ah! thank you very much JAY6390! i can see the admin panel now! but i see a bunch of new warnings too!
kind of crazy , i'm thinking now this has to be a problem with the database? x_x
Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host 'abarillas.db.11594526.hostedresource.com' (0) in /home/content/98/12954798/html/system/database/mysql.php on line 6
Notice: Error: Could not make a database link using abarillas@abarillas.db.11594526.hostedresource.com in /home/content/98/12954798/html/system/database/mysql.php on line 7
Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home/content/98/12954798/html/system/database/mysql.php on line 10
Notice: Error: Could not connect to database abarillas in /home/content/98/12954798/html/system/database/mysql.php on line 11
Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/content/98/12954798/html/system/database/mysql.php on line 14
Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/content/98/12954798/html/system/database/mysql.php on line 15
Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/content/98/12954798/html/system/database/mysql.php on line 16
Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/content/98/12954798/html/system/database/mysql.php on line 17
Notice: Trying to get property of non-object in /home/content/98/12954798/html/admin/index.php on line 47
Warning: Invalid argument supplied for foreach() in /home/content/98/12954798/html/admin/index.php on line 47
kind of crazy , i'm thinking now this has to be a problem with the database? x_x
Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host 'abarillas.db.11594526.hostedresource.com' (0) in /home/content/98/12954798/html/system/database/mysql.php on line 6
Notice: Error: Could not make a database link using abarillas@abarillas.db.11594526.hostedresource.com in /home/content/98/12954798/html/system/database/mysql.php on line 7
Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home/content/98/12954798/html/system/database/mysql.php on line 10
Notice: Error: Could not connect to database abarillas in /home/content/98/12954798/html/system/database/mysql.php on line 11
Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/content/98/12954798/html/system/database/mysql.php on line 14
Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/content/98/12954798/html/system/database/mysql.php on line 15
Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/content/98/12954798/html/system/database/mysql.php on line 16
Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/content/98/12954798/html/system/database/mysql.php on line 17
Notice: Trying to get property of non-object in /home/content/98/12954798/html/admin/index.php on line 47
Warning: Invalid argument supplied for foreach() in /home/content/98/12954798/html/admin/index.php on line 47
I see, yeah i understand this is not an easy thing to fix. I do have a back up of the original database, which was given to me
by the godaddy people who restored the site. would it be possible to leave it back the way it was using this database file?
by the godaddy people who restored the site. would it be possible to leave it back the way it was using this database file?
One more post , i managed to minimize the problem to this
Fatal error: Call to a member function isLogged() on a non-object in /home/content/98/12954798/html/catalog/model/catalog/product.php on line 65
this is the only message i get on the site now, would you mind helping me out on this one also? thank you very much!
Fatal error: Call to a member function isLogged() on a non-object in /home/content/98/12954798/html/catalog/model/catalog/product.php on line 65
this is the only message i get on the site now, would you mind helping me out on this one also? thank you very much!
Who is online
Users browsing this forum: Bing [Bot] and 36 guests