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)  Thu 23 Jan 2020 14:00 GMT-0000
Roundtable Meeting 2020 01

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.