This is actually a PHP issue and nothing to do with MySQL.

You're correct in that since you renamed the directory, the scripts can't
find their includes. Ideally, they should be using relative path names
and/or setting the include_path php.ini variable to avoid this.

The quick however, answer is given to you in the error message i.e.

Change line 52 of C:\webserver\xampplite\htdocs\extreme\admin\index.php to
be:

  include(C:/webserver/xampplite/htdocs/extreme/include/language/en/lang.inc
.php)

(and all the other include, require calls as appropriate)

PS: I'd advise against using any upper-case characters in your web folder
names (URLs) as this can lead to annoying problems later down the line. It's
much simpler to keep it all lowercase.

Edward

> -----Original Message-----
> From: Nicoleen Nel [mailto:[EMAIL PROTECTED]
> Sent: 17 January 2008 13:34
> To: mysql@lists.mysql.com
> Subject: changed directory name
>
>
> Hi guys,
> Im really new to this (I only have html background) so if im asking stupid
> q's please bare with me.
>
> I changed my open reallty file name to extreme, when I try to
> load the file
> http://localhost/Extreme/admin/index.php in explorer and I keep on getting
> these errors, I think I have to change the base path, but im
> unsure of where
> to change it and how:
>
> *Warning*:
> include(C:/webserver/xampplite/htdocs/open/include/language/en/lan
> g.inc.php)
> [function.include
> <http://localhost/Extreme/admin/function.include>]: failed
> to open stream:
include(C:/webserver/xampplite/htdocs/open/include/language/en/lan
> g.inc.php)
>
> *Warning*: include()
> [function.include<http://localhost/Extreme/admin/function.include>]:
> Failed opening
> 'C:/webserver/xampplite/htdocs/open/include/language/en/lang.inc.php' for
> inclusion (include_path='.;C:\webserver\xampplite\php\pear\') in *
> C:\webserver\xampplite\htdocs\extreme\admin\index.php* on line *52*
>
> *Warning*:
> require_once(C:/webserver/xampplite/htdocs/open/include/login.inc.php) [
> function.require-once
> <http://localhost/Extreme/admin/function.require-once>]:
> failed to open stream: No such file or directory in *
> C:\webserver\xampplite\htdocs\extreme\admin\index.php* on line *54*
>
> *Fatal error*: require_once()
> [function.require<http://localhost/Extreme/admin/function.require>]:
> Failed opening required
> 'C:/webserver/xampplite/htdocs/open/include/login.inc.php'
> (include_path='.;C:\webserver\xampplite\php\pear\') in *
> C:\webserver\xampplite\htdocs\extreme\admin\index.php* on line *54*
>
>
> Im using xampplite.
>
> Please help me:)
>
> Nix


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to