Forum index / Computers / even more php help

even more php help

21 posts · page 1 of 1

post #1
09 August 2005, 12:43 UTC#1
installing a forum mod and in the admin cp I get the error message

QUOTE
Warning: chdir(): No such file or directory (errno 2) in /home/aroundth/public_html/sources/Admin/ad_mp3.php on line 164

Warning: chdir(): No such file or directory (errno 2) in /home/aroundth/public_html/sources/Admin/ad_mp3.php on line 220

Warning: fopen(mp3.csh): failed to open stream: Permission denied in /home/aroundth/public_html/sources/Admin/ad_mp3.php on line 221

Warning: fclose(): supplied argument is not a valid stream resource in /home/aroundth/public_html/sources/Admin/ad_mp3.php on line 227

Warning: fopen(dir.csh): failed to open stream: Permission denied in /home/aroundth/public_html/sources/Admin/ad_mp3.php on line 228

Warning: fclose(): supplied argument is not a valid stream resource in /home/aroundth/public_html/sources/Admin/ad_mp3.php on line 235


any ideas what this is about?
post #2
09 August 2005, 17:41 UTC#2
kabump
post #3
09 August 2005, 22:09 UTC#3
double bump
post #4
09 August 2005, 22:10 UTC#4
If I knew Id tell you.
post #5
09 August 2005, 22:16 UTC#5
That means you broke it. Fix it.
post #6
09 August 2005, 22:18 UTC#6
Is that for the MP3 thing?


Edit- NVM... stupid question.
post #7
09 August 2005, 23:05 UTC#7
The first error means that on line 164 of the php script /home/aroundth/public_html/sources/Admin/ad_mp3.php there is a statement chdir(*something*) which makes php change its working directory. Unfortunately the directory *something* (whatever the real path is - not actually *something*) does not exist on the server.

You need to find out what directory it is trying to change to and then make sure it's there and that the permissions are set correctly. It may be a configuration setting but without knowing anything about the script it's difficult to say.

The second error is caused by the same thing but on line 220 this time.

The rest of the errors are probably there because the chdir failed so php can't find the files it's looking for. Fix the directory problem and these should go too.

Hope that helps. If the mod be downloaded somewhere I could take a look at the source.
post #8
10 August 2005, 00:23 UTC#8
QUOTE(915Collective @ Aug 9 2005, 11:05 PM)
The first error means that on line 164 of the php script /home/aroundth/public_html/sources/Admin/ad_mp3.php there is a statement chdir(*something*) which makes php change its working directory.  Unfortunately the directory *something* (whatever the real path is - not actually *something*) does not exist on the server.

You need to find out what directory it is trying to change to and then make sure it's there and that the permissions are set correctly.  It may be a configuration setting but without knowing anything about the script it's difficult to say.

The second error is caused by the same thing but on line  220 this time. 

The rest of the errors are probably there because the chdir failed so php can't find the files it's looking for.  Fix the directory problem and these should go too.

Hope that helps.  If the mod be downloaded somewhere I could take a look at the source.
[right][snapback]142979[/snapback][/right]



man if u have msn add me on [email address redacted] if not would it be possible to trust you with my log ins and stuff so u can take a look

link to mod
post #9
10 August 2005, 09:57 UTC#9
QUOTE(Tomm @ Aug 10 2005, 01:23 AM)
man if u have msn add me on [email address redacted] if not would it be possible to trust you with my log ins and stuff so u can take a look

link to mod
[right][snapback]143045[/snapback][/right]


Sorry, not on MSN and I'd rather not have the responsibility of having your logons. I think I've traced the problem to a setting for the default MP3 directory.

Check that you've done this bit if the installation correctly...


QUOTE
Once you've created the starting mp3 folder and verified that its CHMODed to 775, you can begin uploading mp3s into it. You can upload as many mp3s as you have diskspace and can include subfolders in any organization that you want to, it is entirely up to you.  MP3 zombie has a feature where if it is enabled, the file named index.jpg will be displayed ( if it exists ) for every folder in your mp3 folder, so keep that in mind when uploading your mp3s.

When you are finished uploading your mp3s, login to your Admin CP.  You should notice that MP3 Zombie has added a section to your Admin Links at the bottom of the left side of the screen.  Expand that section and click the link "Playlist Settings".  The configuration screen should appear.

The first item in the setting is the mp3 starting path. 
If this is the first time you ran the script, a default value is provided.  As long as you named your mp3 folder exactly mp3 and it is on exactly the same level as your forum's index, you should not have to change the setting.  If you put your mp3s somewhere else, then adjust the setting to have the correct path.


My guess is that your mp3 directory isn't there, isn't writeable or is called something different from the admin setting.


Good luck!
post #10
10 August 2005, 11:48 UTC#10
Have you tried reuploading "ad_mp3.php" and CHmodding it to "777" ?

If so, try checking the configuration file for any errors. Make sure its all set to /home/aroundth/public_html/ etc
post #11
10 August 2005, 12:20 UTC#11
Haha Tomm just give up. Image file not present in the recovered backup
post #12
10 August 2005, 12:22 UTC#12
QUOTE(MADE @ Aug 10 2005, 12:20 PM)
Haha Tomm just give up. Image file not present in the recovered backup
[right][snapback]143474[/snapback][/right]


gazaa is doing it for me .... n00b Image file not present in the recovered backup
post #13
10 August 2005, 12:25 UTC#13
You back with him yet?
post #14
10 August 2005, 12:28 UTC#14
yeah biggrin.gif he sed he was only joking and now we are a couple again biggrin.gif biggrin.gif biggrin.gif
post #15
10 August 2005, 12:30 UTC#15
Sweetos!
post #16
10 August 2005, 12:34 UTC#16
cheetos ... im eating a pack right now, god damn wotsit ripoffs
post #17
10 August 2005, 13:57 UTC#17
yeah well I got it working now biggrin.gif yay

when I try make it open in a pop up window the link doesnt work tho ... and gazaa is being a fag and wont tell me :P

post #18
10 August 2005, 14:03 UTC#18
You are pathetic lol. But I love you. Image file not present in the recovered backup
post #19
10 August 2005, 14:07 UTC#19
QUOTE(MADE @ Aug 10 2005, 02:03 PM)
You are pathetic lol. But I love you. Image file not present in the recovered backup
[right][snapback]143539[/snapback][/right]


I did it myself .. therefore rendering me un pathetic biggrin.gif

now put my balls back in your mouth and shush
post #20
10 August 2005, 14:33 UTC#20
QUOTE(Tomm @ Aug 10 2005, 02:57 PM)
yeah well I got it working now biggrin.gif yay
[right][snapback]143533[/snapback][/right]


What was it that fixed it in the end then?
post #21
10 August 2005, 14:41 UTC#21
QUOTE(915Collective @ Aug 10 2005, 02:33 PM)
QUOTE(Tomm @ Aug 10 2005, 02:57 PM)
yeah well I got it working now biggrin.gif yay
[right][snapback]143533[/snapback][/right]


What was it that fixed it in the end then?
[right][snapback]143565[/snapback][/right]


the mod I was using was shit ... even gazaa couldnt work it out so I just got another mod and it works fine now biggrin.gif

cheers for the help man ... your always handy when it comes to this stuff Image file not present in the recovered backup

*gives gold star*