Upgrading to php 4.4.7 solved my PHP error problem.
----- Original Message ----
From: sgt_pfk < SGT_PFK%40yahoo.com">SGT_PFK
yahoo.com>
To: phpmychat%40yahoogroups.com">phpmychat
yahoogroups.com
Sent: Saturday, September 29, 2007 2:02:08 PM
Subject: [phpMyChat] Re: Reinstall
I'm sorry this took me so long to try. I commented out the two lines
and I still get Constant already defined for every variable and cannot
make changes to the chat thru the admin page, just directly in the
database. The chat does work fine. Also, I installed a second chat
room on the same server and database and it has the same behavior as
the first one. Could it be my php somehow?
--- In phpmychat
yahoogrou ps.com, Ciprian Murariu <ciprianmp
. ..> wrote:
>
> Just a quick fix though: open your chat/admin/admin5. php and comment
out the two lines 9 and 10:
> //require(". /config/config. lib.php") ;
> //require(". /lib/release. lib.php") ;
> Give it a try and let me know. (it might be a bug I didn't come
accross to so far - those files where already included in admin.php,
no need to reinclude them into admin5.php - but i've never got that
double defining error untill now.)
>
> Ciprian Murariu
> - Bucharest, Romania -
>
>
>
> ----- Original Message ----
> From: sgt_pfk <SGT_PFK
... >
> To: phpmychat
yahoogrou ps.com
> Sent: Friday, August 24, 2007 6:10:22 PM
> Subject: [phpMyChat] Reinstall
>
>
> I lost the harddrive where i had phpmychat running, and it will be a
> day or two before I can get access to the backup tape. In the
> meantime, I reinstalled the app (latest code as was the previous one)
> on a new redhat server, and pointed at the same mysql database.
> Everything is fine except for two things:
>
> 1. I can't kill the bot, and he won't answer me.
> 2. IN admin.php when I make a change, it says it saves it but
> doesn't. When I go back the changes are not reflected.
>
> My error log scrolls a ton of errors when I am in admin, and other
> parts of the app, mostly saying:
> Constant APP_NAME already defined in
> /usr/local/apache/ htdocs/redsox/ lib/release. lib.php on line 2,
> referer: http://www.redsoxch at.com/admin. php?From= admin.php
>
> And repeated for all the constants.
>
> I can register, chat, etc. But admin isn't working. Thoughts?
>
>
>
>
>
> ---
> Yahoo! Groups Links
>
>
>
> [Non-text portions of this message have been removed]
>
<!--
#ygrp-mkp{
border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;}
#ygrp-mkp hr{
border:1px solid #d8d8d8;}
#ygrp-mkp #hd{
color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;}
#ygrp-mkp #ads{
margin-bottom:10px;}
#ygrp-mkp .ad{
padding:0 0;}
#ygrp-mkp .ad a{
color:#0000ff;text-decoration:none;}
-->
<!--
#ygrp-sponsor #ygrp-lc{
font-family:Arial;}
#ygrp-sponsor #ygrp-lc #hd{
margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;}
#ygrp-sponsor #ygrp-lc .ad{
margin-bottom:10px;padding:0 0;}
-->
<!--
#ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;}
#ygrp-mlmsg table {font-size:inherit;font:100%;}
#ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;}
#ygrp-mlmsg pre, code {font:115% monospace;}
#ygrp-mlmsg * {line-height:1.22em;}
#ygrp-text{
font-family:Georgia;
}
#ygrp-text p{
margin:0 0 1em 0;}
#ygrp-tpmsgs{
font-family:Arial;
clear:both;}
#ygrp-vitnav{
padding-top:10px;font-family:Verdana;font-size:77%;margin:0;}
#ygrp-vitnav a{
padding:0 1px;}
#ygrp-actbar{
clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;}
#ygrp-actbar .left{
float:left;white-space:nowrap;}
.bld{font-weight:bold;}
#ygrp-grft{
font-family:Verdana;font-size:77