![]() |
php guys - help please
Warning: main(modules/coppermine/language/lang-english.php): failed to open stream: No such file or directory in /usr/www/virtual/brizzad/www.weedland.com/modules/coppermine/include/init.inc on line 215
Fatal error: main(): Failed opening required 'modules/coppermine/language/lang-english.php' (include_path='.:/usr/local/lib/php') in /usr/www/virtual/brizzad/www.weedland.com/modules/coppermine/include/init.inc on line 215 wtf does that mean? |
bump
|
Quote:
|
Quote:
the thread was pointed at php guys |
Show us what's on line 215. "Failed to open stream" probably means it's trying to open a file that doesn't exist, or you don't have permission, or there's a network error if it's a URL, etc.
|
in line 215 is wrong access path to this file 'modules/coppermine/language/lang-english.php'
|
you made samething wrong when configuring it...
|
"Fatal error: main(): Failed opening" sounds pretty clear to me? Check if the file exists and have the right perms.
|
Is your URL supposed to be included in your path?
/usr/www/virtual/brizzad/www.weedland.com/modules/coppermine/include/init.inc I've only installed a few easy scripts but where you have www.weedland.com I usually have home |
Quote:
it does exist and has correct CHMOD, that's why i dont understand what's going on |
Quote:
www.weedland.com is supposed to be there, im hosting multiple domains on the same ip |
Quote:
|
Quote:
|
Quote:
require_once("modules/coppermine/language/lang-english.php"); (probably a ../ or two at the start of the path) |
brizzad,
Edit this file: /usr/www/virtual/brizzad/www.weedland.com/modules/coppermine/include/init.inc Look for this line: require('modules/coppermine/language/lang-english.php'); It may be include(), include_once(), or require_once() but you'll know it when you see it (since you can just search the file for that relative path to lang-english.php). Replace the path to lang-english.php with an absolute path, ie require('/usr/www/virtual/brizzad/www.weedland.com/modules/coppermine/language/lang-english.php'); Unfortunately without looking at the files/filesystem/php info I can only guess. But since you say the file exists, you might give this a try. |
Quote:
thanks dude, ill give it a try :thumbsup |
Quote:
|
check your include path, make sure modules/ etc... is in there somewhere, or you could just prepend $_SERVER["DOCUMENT_ROOT"] to the path if it's in / (or probably just use /, ./, or ../)
|
All times are GMT -7. The time now is 05:48 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123