Loading...
 
Architecture / Installation

Architecture / Installation


Error on new v1.8 install.

posts: 27 Australia

Hi all.

I've just upgraded from a 1.7.5 system to 1.8. I'm getting an error that I wasn't getting running 1.7.5. I'm on a Win2k/IIS setup. The error looks like this:

Warning: fopen(/tmp/tikidebug): failed to open stream: No such file or directory in G:\intranetwwwroot\lib\search\refresh.php on line 44

Warning: fwrite(): supplied argument is not a valid stream resource in G:\intranetwwwroot\lib\search\refresh.php on line 44

Warning: fclose(): supplied argument is not a valid stream resource in G:\intranetwwwroot\lib\search\refresh.php on line 44

Now, line 44 in refresh.php is this:

$fpd=fopen("/tmp/tikidebug",'a');fwrite($fpd,"f_gal on\n");fclose($fpd);

It's obvious to me what the problem is, and I was going to simply change that line to a "G:\etc\etc\" path and be done with it, but first I wanted to see if that's the right thing to do, and if there's anywhere else that might need changing.

Thanks guys.

posts: 1001 Canada

Hi Speculator,
I think you're the first one to experience that bug, but it was fixed a few days ago and you can get it from CVS.

posts: 27 Australia

Thanks, I got the new refresh.php and that error has gone away. Now I got another similar one when adding one of my modules (just some links, nothing special):

Warning: fopen(modules/cache//mod-Subject/Staff Areas.tpl.en.cache): failed to open stream: No such file or directory in G:\intranetwwwroot\tiki-modules.php on line 134

Warning: fwrite(): supplied argument is not a valid stream resource in G:\intranetwwwroot\tiki-modules.php on line 135

Warning: fclose(): supplied argument is not a valid stream resource in G:\intranetwwwroot\tiki-modules.php on line 136

Warning: Cannot modify header information - headers already sent by (output started at G:\intranetwwwroot\tiki-modules.php:134) in G:\intranetwwwroot\index.php on line 10

The line numbers are around 240 and 239 if I put the module on the right.

> Chealer9:
> Hi Speculator,
> I think you're the first one to experience that bug, but it was fixed a few days ago and you can get it from CVS.

posts: 2881 United Kingdom


Hi,

Try clearing the modules/cache folder.

Damian

> Speculator:
> Thanks, I got the new refresh.php and that error has gone away. Now I got another similar one when adding one of my modules (just some links, nothing special):
>
> Warning: fopen(modules/cache//mod-Subject/Staff Areas.tpl.en.cache): failed to open stream: No such file or directory in G:\intranetwwwroot\tiki-modules.php on line 134
>
> Warning: fwrite(): supplied argument is not a valid stream resource in G:\intranetwwwroot\tiki-modules.php on line 135
>
> Warning: fclose(): supplied argument is not a valid stream resource in G:\intranetwwwroot\tiki-modules.php on line 136
>
> Warning: Cannot modify header information - headers already sent by (output started at G:\intranetwwwroot\tiki-modules.php:134) in G:\intranetwwwroot\index.php on line 10
>
> The line numbers are around 240 and 239 if I put the module on the right.
>
> > Chealer9:
> > Hi Speculator,
> > I think you're the first one to experience that bug, but it was fixed a few days ago and you can get it from CVS.


posts: 27 Australia

Thanks, I got the new refresh.php and that error has gone away. Now I got another similar one when adding one of my modules (just some links, nothing special):

Warning: fopen(modules/cache//mod-Subject/Staff Areas.tpl.en.cache): failed to open stream: No such file or directory in G:\intranetwwwroot\tiki-modules.php on line 134

Warning: fwrite(): supplied argument is not a valid stream resource in G:\intranetwwwroot\tiki-modules.php on line 135

Warning: fclose(): supplied argument is not a valid stream resource in G:\intranetwwwroot\tiki-modules.php on line 136

Warning: Cannot modify header information - headers already sent by (output started at G:\intranetwwwroot\tiki-modules.php:134) in G:\intranetwwwroot\index.php on line 10

The line numbers are around 240 and 239 if I put the module on the right.

> Chealer9:
> Hi Speculator,
> I think you're the first one to experience that bug, but it was fixed a few days ago and you can get it from CVS.

posts: 2881 United Kingdom


Hi,

Try clearing the modules/cache folder.

Damian

> Speculator:
> Thanks, I got the new refresh.php and that error has gone away. Now I got another similar one when adding one of my modules (just some links, nothing special):
>
> Warning: fopen(modules/cache//mod-Subject/Staff Areas.tpl.en.cache): failed to open stream: No such file or directory in G:\intranetwwwroot\tiki-modules.php on line 134
>
> Warning: fwrite(): supplied argument is not a valid stream resource in G:\intranetwwwroot\tiki-modules.php on line 135
>
> Warning: fclose(): supplied argument is not a valid stream resource in G:\intranetwwwroot\tiki-modules.php on line 136
>
> Warning: Cannot modify header information - headers already sent by (output started at G:\intranetwwwroot\tiki-modules.php:134) in G:\intranetwwwroot\index.php on line 10
>
> The line numbers are around 240 and 239 if I put the module on the right.
>
> > Chealer9:
> > Hi Speculator,
> > I think you're the first one to experience that bug, but it was fixed a few days ago and you can get it from CVS.


posts: 27 Australia


False alarm.

I worked it out.

Just as a general warning to people. Don't put slashes in your module names. It breaks things! wink


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting