Loading...
 
Development

Development


Php bug made my server down

posts: 33

Hi all,
last weekend, a php bug in my site made my server down for about 2 days!
I'm trying to know what was the problem, but as I saied before, I'm a delphi developer not php, so I ask you if errors I see can do so in my server or not.
Please help me because I know if it happen again, my server will remove my site!

1. first problem seen:
when a new wiki page made from a link, after I clicked to save page the following lines are shown and I should go back and again click save to do so, is there any bad code? what's the solving?

Notice: Only variable references should be returned by reference in /home/drelect2/public_html/lib/webmail/htmlMimeMail.php on line 403

Warning: Cannot modify header information - headers already sent by (output started at /home/drelect2/public_html/lib/webmail/htmlMimeMail.php:403) in /home/drelect2/public_html/editpage.php on line 764


2. the seccond one:
when I send a newsletter also I see following line in number of users send for,

Notice: Only variable references should be returned by reference in /home/drelect2/public_html/lib/webmail/htmlMimeMail.php on line 442

so any one please help me solve the problem.

posts: 23 United Kingdom

Which version of tiki are you using? On which kind of database?

Try disabling the webmail component, as that sounds like its playing up. Its in admin->features. I cant say I know how solid tiki webmail is right now, as I dont use it.

Danny


posts: 33

Hi Danny,
I use 1.9.3.2, I have used mail notification:wiki changed. when I disable it, I have no errors and every thing is OK, but using this notification causes error when new page is for first time saved (and page is saved,even nothing is shown, except error), but not after that.

posts: 1630 Canada

> Hi Danny,
> I use 1.9.3.2, I have used mail notification:wiki changed. when I disable it, I have no errors and every thing is OK, but using this notification causes error when new page is for first time saved (and page is saved,even nothing is shown, except error), but not after that.

Hi!

I have seen this bug, but only when logged in as admin. Normal users don't get the error.

M ;-)


posts: 33
I forget to say I'm using MySQL, but I want notifications, I can't disable them.

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