PDA

View Full Version : MOVE of Joomla to bluehost!!



RobbenR
05-05-2008, 07:28 AM
Hi there,
I am trying to move my Joomla site from my home address to bluehost but now i have some trouble with my configuration.php.

I have copied all data to \joomla and I have imported my "old" database.
no problems sofar. changed the pathnames to bluehost and the names.
but now I have the following error on my screen which has nothing to do with my paths.

Parse error: syntax error, unexpected T_STRING in /home1/vthrnloc/public_html/olnev/configuration.php on line 45

Line 45 in configuration.php = $mosConfig_locale = 'en_GB';



this is my complete file output;

mosConfig_MetaAuthor = '1';
$mosConfig_MetaDesc = 'RobbenR presenteerd ';
$mosConfig_MetaKeys = 'olnev.nl, RobbenR';
$mosConfig_MetaTitle = '1';
$mosConfig_absolute_path = '/public_html/olnev';
$mosConfig_admin_expired = '1';
$mosConfig_allowUserRegistration = '1';
$mosConfig_back_button = '1';
$mosConfig_cachepath = '/public_html/olnev/cache';
$mosConfig_cachetime = '900';
$mosConfig_caching = '0';
$mosConfig_db = 'test2';
$mosConfig_dbprefix = 'jos_';
$mosConfig_debug = '0';
$mosConfig_dirperms = '';
$mosConfig_editor = 'jce';
$mosConfig_enable_log_items = '0';
$mosConfig_enable_log_searches = '1';
$mosConfig_enable_stats = '1';
$mosConfig_error_message = 'This site is temporarily unavailable.<br /> Please notify the System Administrator';
$mosConfig_error_reporting = '-1';
$mosConfig_favicon = 'favicon.ico';
$mosConfig_fileperms = '';
$mosConfig_fromname = 'olnev.nl';
$mosConfig_frontend_login = '1';
$mosConfig_frontend_userparams = '1';
$mosConfig_gzip = '0';
$mosConfig_helpurl = 'http://help.joomla.org';
$mosConfig_hideAuthor = '1';
$mosConfig_hideCreateDate = '1';
$mosConfig_hideEmail = '0';
$mosConfig_hideModifyDate = '1';
$mosConfig_hidePdf = '1';
$mosConfig_hidePrint = '0';
$mosConfig_hits = '1';
$mosConfig_host = 'localhost';
$mosConfig_icons = '1';
$mosConfig_item_navigation = '1';
$mosConfig_lang = 'dutch';
$mosConfig_lifetime = '900';
$mosConfig_link_titles = '1';
$mosConfig_list_limit = '50';
$mosConfig_live_site = 'http://www.v3nlo.com/olnev;
$mosConfig_locale = 'en_GB';
$mosConfig_mailer = 'smtp';
$mosConfig_mailfrom = 'olnev.nl@gmail.com';
$mosConfig_multilingual_support = '0';
$mosConfig_multipage_toc = '0';
$mosConfig_offline = '0';
$mosConfig_offline_message = 'Er vinden momenteel geen updates plaats door persoonlijk omstandigheden.

Ik hoop dat hij spoedig weer zal draaien.
hoe dan ook. olnev.nl komt weer terug.

sorry voor het ongemak.';
$mosConfig_offset = '-1';
$mosConfig_offset_user = '1';
$mosConfig_pagetitles = '1';
$mosConfig_password = '******';
$mosConfig_readmore = '1';
$mosConfig_secret = '*********';
$mosConfig_sef = '1';
$mosConfig_sendmail = '/usr/sbin/sendmail';
$mosConfig_session_life_admin = '1800';
$mosConfig_session_type = '0';
$mosConfig_shownoauth = '0';
$mosConfig_sitename = 'olnev.nl';
$mosConfig_smtpauth = '1';
$mosConfig_smtphost = *****l';
$mosConfig_smtppass = ********;
$mosConfig_smtpuser = *********;
$mosConfig_uniquemail = '1';
$mosConfig_user = **********;
$mosConfig_useractivation = '1';
$mosConfig_vote = '0';
setlocale (LC_TIME, $mosConfig_locale);


hopefully you guys can help me because it's the first time I have to move my site around NOT on my servers. Not realy a php or mysql whiz.

thx in advance!!!

Bob Barr
05-05-2008, 09:41 AM
The line before:

$mosConfig_live_site = 'http://www.v3nlo.com/olnev;

It looks like there's a missing single quote between the URL and the semicolon. Errors get reported when they are first detected. The line where they are reported isn't necessarily the one with the error.

RobbenR
05-05-2008, 10:42 AM
The line before:

It looks like there's a missing single quote between the URL and the semicolon. Errors get reported when they are first detected. The line where they are reported isn't necessarily the one with the error.

thx that minor quote was indeed a problem. Now it raised a whole bunch of new ones!

Warning: require_once(/public_html/olnev/public_html/olnev/includes/version.php) [function.require-once]: failed to open stream: No such file or directory in /home1/vthrnloc/public_html/olnev/includes/joomla.php on line 71

Fatal error: require_once() [function.require]: Failed opening required '/public_html/olnev/public_html/olnev/includes/version.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home1/vthrnloc/public_html/olnev/includes/joomla.php on line 71

I think all paths of joomla needs to be changed!! :(
Have to play around with all these errors. Not that simple just copy the site and database... thought that this was all but..

it's a learning programm... haha

thx for you help !!


Wow, found out that I need to fill in more in the $mosConfig_absolute_path: /home1/xxxxx/public_html/olnev/configuration.php should be it instead of /public_html/olnev/configuration.php

still not working but no more dodgy messages. only no database server found so that's a new issue.
i'm getting somewhere.!!! sorry if I mess up this forum with my rubish but maybe someother person has te same issue's.
or I'm the only NOOB person around here!

I will do a clean install of joomla (same version) into the bluehost.. and verify the conf files to eachother!!
that is a quick workaround I guess.!!

Sageth
05-05-2008, 06:09 PM
Looks like you caught the absolute path and cache path to (basing it on your URL) /home/username/public_html/olnev

Since you're getting mysql errors, you may want to verify that the user that is specified in the bottom of the directory actually has rights to the database.

Maybe also try resetting your password?

RobbenR
05-06-2008, 01:39 AM
Yes it was a problem with the path name and the username vs mysql db.
I forgot to put in my bluehosting name into it.

did a clean install to get it working and found the errors.

also found a new thing within Joomla.
Before installation, joomla said session save path "Unwriteable"

googled for this and found already some topics about this but not really a working solution.

this is the treath i found on the joomla site!
http://forum.joomla.org/viewtopic.php?f=35&t=268465&p=1278958


(ignored the error message and went on, which worked but still don't know if my problem with the path will give me some troubles in the future.)

thx for helping me out people!
it's good to know that I'm not struggling alone ..

qoute
There is no such thing as strangers, only friends we haven't met!

Lophofo
05-06-2008, 01:33 PM
You may want to check out this HelpDesk article on the error you were receiving in Joomla.

http://helpdesk.bluehost.com/kb/index.php?x=&mod_id=2&id=543

I hope that helps out. :)