Loading...
 
Galaxia Workflow Engine

Galaxia Workflow Engine


Security problem with allow_url_fopen

France

Hi,

If we want that non-interactive activities work, we have to put the allow_url_fopen to "on" in the php.ini file. When it's off, we have a blank page when a non-interactive activity is executed.

I have a "problem" with my server admin who doesn't really agree to let allow_url_fopen at "on"...

Is it possible to modify the script to not use that ?

Thanks,

Yann

Brazil

A possible workaround is presented in http://tikiwiki.org/tiki-view_forum_thread.php?comments_parentId=6236&topics_threshold=0&topics_offset=30&topics_sort_mode=commentDate_desc&topics_find=&forumId=11
A hack, but if it works... Regards,

Georger

> Hi,
>
> If we want that non-interactive activities work, we have to put the allow_url_fopen to "on" in the php.ini file. When it's off, we have a blank page when a non-interactive activity is executed.
>
> I have a "problem" with my server admin who doesn't really agree to let allow_url_fopen at "on"...
>
> Is it possible to modify the script to not use that ?
>
> Thanks,
>
> Yann

France

Thank you very much Georger,

It works fine.

I had to correct the code (as I wrote as anszer to the topic you talked about).
(For those interest, look at that topic to see it because if I made an error, I hope someone will correct me.)

An addition, I had to correct the code of my non-interactive activity.
In fact, I was querying to the DB in that activity.
So, I had to replace

$suivant2=$tikiwiki->query($query);

by

$suivant2=$this->query($query);

Yann


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