Joomla! Discussion Forums



It is currently Mon Nov 23, 2009 11:20 pm (All times are UTC )

 


Forum rules

Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Security Checklist
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 7 posts ] 
Author Message
Posted: Sun Jul 15, 2007 1:15 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Jul 12, 2007 8:40 am
Posts: 15
Hello,

I tried to move configuration.php file EXACTLY as mentioned here:
http://forum.joomla.org/index.php/topic ... #msg604266

but the following error occurred:

1. the site did not loads at all, loads completely blank page.
2. When i tried to load administration backend this error occured:

Fatal error: Call to undefined function: joomconfig() in /home/xxx/public_html/configuration.php on line 2

I have checked the format and all the code is exactly the same as mentioned, but did not work!

the original code:
require( dirname( __FILE__ ) . '/../joomla.conf' );
?>

i have created joomlaconfig directory at site root, changed the configuration.php to joomla.conf,
and i changed the code this way:

require( joomlaconfig( __FILE__ ) . '/../joomla.conf' );
?>


Please help me to resolve this issue.


Last edited by eboy on Sun Jul 15, 2007 1:25 pm, edited 1 time in total.

Top
   
 
Posted: Sun Jul 15, 2007 1:33 pm 
User avatar
Joomla! Champion
Joomla! Champion
Offline

Joined: Sun Oct 22, 2006 4:42 am
Posts: 5286
Location: Queensland, Australia
You might need another  " ../ "  if your site is in a sub-directory....

_________________

** Moved to Queensland** still on/offline intermittantly, will be awhile yet.
Joomla! Tools Suite v2 Beta2 release available at http://joomlacode.org/gf/project/jts/


Top
   
 
Posted: Sun Jul 15, 2007 2:20 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Jul 12, 2007 8:40 am
Posts: 15
RussW wrote:
You might need another  " ../ "  if your site is in a sub-directory....


no, the site is inside public_html directory...


Last edited by eboy on Sun Jul 15, 2007 8:09 pm, edited 1 time in total.

Top
   
 
Posted: Sun Jul 15, 2007 8:09 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Jul 12, 2007 8:40 am
Posts: 15
...and I created the joomlaconfig directory one level up.

Please help me


Top
   
 
Posted: Mon Jul 16, 2007 1:03 am 
Joomla! Virtuoso
Joomla! Virtuoso
Offline

Joined: Sun Apr 16, 2006 12:20 am
Posts: 3059
Location: 127.0.0.1
eboy wrote:
i have created joomlaconfig directory at site root, changed the configuration.php to joomla.conf,
and i changed the code this way:

require( joomlaconfig( __FILE__ ) . '/../joomla.conf' );
?>


Please help me to resolve this issue.

I'm pretty sure that those lines should be:

Code:
<?php
require( dirname( __FILE__ ) . '/../joomla.conf' );
?>


You changed dirname to joomlaconfig.

_________________
Backup, backup, backup! Never forget to backup.
*JoomlaPack can not only backup your site, but help you migrate it as well!*


Top
   
 
Posted: Tue Jul 17, 2007 8:04 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Tue Jun 06, 2006 7:41 am
Posts: 808
Location: Third planet from Sol
If, as it seems from these posts, that you created a directory called 'joomlaconfig' in your web account's root directory, your site structure probably looks about like this:

/home/your_name/www/      <-- all the joomla files are here
/home/your_name/joomlaconfig/joomla.conf      <-- you moved and renamed the configuation file to here

If that's correct, your new configuration.php file should be located here:
/home/your_name/www/configuration.php

And contain exactly the following code (nothing more or less).

Code:
<?php
require( dirname( __FILE__ ) . '/../joomlaconfig/joomla.conf' );
?>

_________________
Web Home: http://www.ronliskey.com
Support http://support.educationgrove.com


Last edited by rliskey on Tue Jul 17, 2007 8:06 pm, edited 1 time in total.

Top
  E-mail  
 
Posted: Sat Dec 08, 2007 4:42 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Nov 07, 2007 8:47 pm
Posts: 31
Just for the record, on a godaddy virtual dedicated server I had to use this path:

( '/var/www/vhosts/{domain}/httpsdocs/salon13/non_public/joomla.conf' );


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

Quick reply

 



Who is online

Users browsing this forum: MSN [Bot] and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group