GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   php guys - help please (https://gfy.com/showthread.php?t=338292)

brizzad 08-09-2004 09:04 AM

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?

brizzad 08-09-2004 09:09 AM

bump

pxxx 08-09-2004 09:10 AM

Quote:

Originally posted by brizzad
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?

I dont know what the fuck that mean.

brizzad 08-09-2004 09:12 AM

Quote:

Originally posted by pxxx
I dont know what the fuck that mean.

the thread was pointed at php guys

rowan 08-09-2004 09:14 AM

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.

Anothers 08-09-2004 09:15 AM

in line 215 is wrong access path to this file 'modules/coppermine/language/lang-english.php'

pornpf69 08-09-2004 09:18 AM

you made samething wrong when configuring it...

extreme 08-09-2004 09:20 AM

"Fatal error: main(): Failed opening" sounds pretty clear to me? Check if the file exists and have the right perms.

mardigras 08-09-2004 09:21 AM

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

brizzad 08-09-2004 09:21 AM

Quote:

Originally posted by extreme
"Fatal error: main(): Failed opening" sounds pretty clear to me? Check if the file exists and have the right perms.

it does exist and has correct CHMOD, that's why i dont understand what's going on

brizzad 08-09-2004 09:22 AM

Quote:

Originally posted by mardigras
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



www.weedland.com is supposed to be there, im hosting multiple domains on the same ip

mardigras 08-09-2004 09:27 AM

Quote:

Originally posted by brizzad
www.weedland.com is supposed to be there, im hosting multiple domains on the same ip
Are other scripts working using that path? Try a simple script you know works elsewhere for you to be certain you are using the correct path. Always eliminate the simplest before moving on:glugglug

Anothers 08-09-2004 09:27 AM

Quote:

Originally posted by brizzad
it does exist and has correct CHMOD, that's why i dont understand what's going on
what exactly is in line 215 in this file '/usr/www/virtual/brizzad/www.weedland.com/modules/coppermine/include/init.inc '

rowan 08-09-2004 09:29 AM

Quote:

Originally posted by Anothers
what exactly is in line 215 in this file '/usr/www/virtual/brizzad/www.weedland.com/modules/coppermine/include/init.inc '
I would guess it's something like

require_once("modules/coppermine/language/lang-english.php");

(probably a ../ or two at the start of the path)

spentrent 08-09-2004 09:35 AM

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.

brizzad 08-09-2004 10:13 AM

Quote:

Originally posted by spentrent
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.


thanks dude, ill give it a try :thumbsup

spentrent 08-09-2004 11:52 AM

Quote:

Originally posted by brizzad
thanks dude, ill give it a try :thumbsup
No prob; tell me how it turns out. Hit me up if you hit a wall ;)

Intrigue 08-09-2004 12:28 PM

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