1
phoethein
Please help me out with IRC mod!
  • 2005/3/5 14:40

  • phoethein

  • Just popping in

  • Posts: 24

  • Since: 2004/9/25


Sorry. I'm with another problem again! I did whatever I could and I searched for similar problem threads as much as I could. But, couldn't find any. That's why. I come back again!Okie, I'll go straight to the point.

I tried to install ircmod at my site and it went well and not even single hitch at all. But, When I started changing configuration and error occurs. I turned on PHPDebug and it shows that.
Warning [PHP]: main(/home/traffic/public_html/modules/ircmod/cache/irconfig.php): failed to open streamNo such file or directory in file modules/ircmod/admin/index.php line 7
Warning 
[PHP]: main(/home/traffic/public_html/modules/ircmod/cache/irconfig.php): failed to open streamNo such file or directory in file modules/ircmod/admin/index.php line 7
Warning 
[PHP]: main(): Failed opening '/home/traffic/public_html/modules/ircmod/cache/irconfig.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php'in file modules/ircmod/admin/index.php line 7


According to the message, I looked at modules/ircmod/admin/index.php line 7
It shows that
include(XOOPS_ROOT_PATH."/modules/".$xoopsModule->dirname()."/cache/irconfig.php");
And, I looked at ircmod/cache folder but, I saw none except index.html . I couldn't locate cache.irconfig.php. Is that file supposed to be not included or any place I could get it from?

I appreciate all of you guys to answer whenever I need help.

Thank you all for your support,
PT

Latest New:After I set configuration and submit changes, following errors shown before the site is reloaded:
Warning [PHP]: main(/home/traffic/public_html/modules/ircmod/cache/irconfig.php): failed to open streamNo such file or directory in file modules/ircmod/admin/index.php line 7
Warning 
[PHP]: main(/home/traffic/public_html/modules/ircmod/cache/irconfig.php): failed to open streamNo such file or directory in file modules/ircmod/admin/index.php line 7
Warning 
[PHP]: main(): Failed opening '/home/traffic/public_html/modules/ircmod/cache/irconfig.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php'in file modules/ircmod/admin/index.php line 7
Warning 
[PHP]: fopen(../cache/irconfig.php): failed to open streamPermission denied in file modules/ircmod/admin/index.php line 148
Warning 
[PHP]: fwrite(): supplied argument is not a valid stream resource in file modules/ircmod/admin/index.php line 169
Warning 
[PHP]: fclose(): supplied argument is not a valid stream resource in file modules/ircmod/admin/index.php line 170

URL: www.traffic-cafe.com
PHP version: 4.3.9
MySQL version: 4.0.23-standard

If you need more infos, let me know. I'll reply asap.

2
rowdie
Re: Please help me out with IRC mod!
  • 2005/3/5 15:21

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


I don't know the module, but at a guess I'd say you either need to set write permissions for the /ircmod/cache folder, or your server doesn't allow the fopen() function.

Check the folder permissions first, hopefully that will fix it...

Rowd

3
phoethein
Re: Please help me out with IRC mod!
  • 2005/3/5 15:47

  • phoethein

  • Just popping in

  • Posts: 24

  • Since: 2004/9/25


Quote:

rowdie wrote:
I don't know the module, but at a guess I'd say you either need to set write permissions for the /ircmod/cache folder, or your server doesn't allow the fopen() function.

Check the folder permissions first, hopefully that will fix it...

Rowd

Thank you so much! After I changed permission for /ircmod/cache folder to writeable, it works. But, after I submit changes, it's still showing the same error message which is
Warning [PHP]: main(/home/traffic/public_html/modules/ircmod/cache/irconfig.php): failed to open streamNo such file or directory in file modules/ircmod/admin/index.php line 7
Warning 
[PHP]: main(/home/traffic/public_html/modules/ircmod/cache/irconfig.php): failed to open streamNo such file or directory in file modules/ircmod/admin/index.php line 7
Warning 
[PHP]: main(): Failed opening '/home/traffic/public_html/modules/ircmod/cache/irconfig.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php'in file modules/ircmod/admin/index.php line 7

But, I could connect to network without any problem.

Thank you so much indeed.
PT

4
rowdie
Re: Please help me out with IRC mod!
  • 2005/3/5 16:17

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


Try making a file called irconfig.php and put it in the cache folder (again with write permissions).
e.g. put this in a file and save it as irconfig.php
<?php

?>


Sounds like a strange module, using writeable cache instead of the XOOPS module config system for config settings, but it was probably ported from some other cms originally, I guess...

I suggest you change the file to not writeable after you've finished setting the config options and it's running properly... that's assuming this works, of course

Wasn't there a readme file with the module?


Rowd

5
phoethein
Re: Please help me out with IRC mod!
  • 2005/3/5 17:02

  • phoethein

  • Just popping in

  • Posts: 24

  • Since: 2004/9/25


Thanks again, rowdie!
First of all, I didn't need to create irconfig.php file cuz after changing permissions for cache folder to writeable, that file was automatically created. So, now, I changed the cache folder's permission back to 755 and so far it's still working. Ya know what? After changing configuration and reload the page, it doesn't show errors anymore. What a fantastic help you support though you know nothing about this module.

Thank you so much! I really appreciate that.

P.S/ The information provided in readme text file is not enough for newbie like me. But, it's great module tho.
Quote:

####Installation instructions####
- Unpack ircmod repertory.
- Edit file "background.gif"
- Upload ircmod repertory on your server into the modules rep
- Activate module into your XOOPS administration, and define your own settings. Don't forget to check group permissions!
- Have fun!

6
rowdie
Re: Please help me out with IRC mod!
  • 2005/3/5 17:29

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


Glad to help

It looks like the readme could do with an extra line or two about the cache permissions. It would be really good if you could add a comment about it to the module download page (assuming you got it from the Module Repository here). Or if you could confirm that it was the "IRC Chat 1.303" module and that you downloaded it from here, I'll do it for you.


Rowd

7
phoethein
Re: Please help me out with IRC mod!
  • 2005/3/5 17:41

  • phoethein

  • Just popping in

  • Posts: 24

  • Since: 2004/9/25


I used "Module IRC 2.0" submitted by goghs(I'm not sure whether it's his own or not.). Anyway, it's cool!
Don't worry I will send email to remind him!
Thanks!

Login

Who's Online

186 user(s) are online (118 user(s) are browsing Support Forums)


Members: 0


Guests: 186


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits