 |
 |
Domain Technologie Control Forum Take the control of your domain name
|
 |
 |
 |
 |
|
 |
 |
 |
 |
 |
ddoyon
Joined: 16 May 2005 Posts: 16 Location: Canada  |
Posted: Thu Jun 16, 2005 4:21 pm Post subject: session_register |
 |
|
Fatal error: Call to undefined function session_register() in /usr/local/www/dtc/shared/vars/global_vars.php on line 63
iget this when i try to see my dtcadmin panel
and my register global is at on
and if i commet seesion register every thing is working
does anyon e have a clue |
|
| |
|
|
|
 |
 |
 |
 |
 |
gplhost Site Admin

Joined: 16 Feb 2005 Posts: 3718 Location: Tampa, florida and Singapore, Malaisia  |
Posted: Fri Jun 17, 2005 4:34 pm Post subject: |
 |
|
Hi !
This is the first time I see this. What OS do you use, and what PHP version is it? Maybe your PHP don't have session support???
Thomas _________________ GPLHost:>_ Opensource hosting worldwide
Xen hosting with DTC pre-setup
Helping is not easy when request is not precise: please past logs, don't use "it said" or similar impersonal subjects, and try to be verbose and exhaustive on your problem description. |
|
| |
|
|
|
 |
 |
 |
 |
 |
ddoyon
Joined: 16 May 2005 Posts: 16 Location: Canada  |
Posted: Sat Jun 18, 2005 11:46 pm Post subject: my prob |
 |
|
Yes you are right we use php5.04 apache2.054 and we modifie the make to consider this but he didnt install it as it was suppose to so this is why we where not able to have a session register
freeBSD 5.4
DTC 17.0.r3 |
|
| |
|
|
|
 |
 |
 |
 |
 |
gplhost Site Admin

Joined: 16 Feb 2005 Posts: 3718 Location: Tampa, florida and Singapore, Malaisia  |
Posted: Sun Jun 19, 2005 8:26 am Post subject: |
 |
|
Ok, so I bet it's fixed and working now, right?
By the way, DTC don't saves important things in sessions, as I consider it's not safe (everybody should be able to have access to /tmp). If you want to go further, please install the CVS version and help me to release a nice port with GOOD dependencies.
I'm an average admin, very good using Debian now thanks to many years of experiences, but I'm a real newbie when in comes to FreeBSD and especialy making a port Makefile with dependencies. The only think I can achieve is look at other ports and try to do same. I would apreciate a lot some help on that specific topic.
Thomas _________________ GPLHost:>_ Opensource hosting worldwide
Xen hosting with DTC pre-setup
Helping is not easy when request is not precise: please past logs, don't use "it said" or similar impersonal subjects, and try to be verbose and exhaustive on your problem description. |
|
| |
|
|
|
 |
 |
 |
 |
 |
ddoyon
Joined: 16 May 2005 Posts: 16 Location: Canada  |
Posted: Sun Jun 19, 2005 11:14 pm Post subject: Makefile |
 |
|
I will try to make you a good Makefile
But i am not an expert it may take a long time but i will come with one soon
to work with
apache 2.054
php5.04
mod_log_sql2
mysql 4.1
we are now trying to modify mysqmail to fit on bsd |
|
| |
|
|
|
 |
 |
 |
 |
 |
Mudboy
Joined: 03 Nov 2005 Posts: 3
 |
Posted: Sat Nov 05, 2005 8:08 am Post subject: |
 |
|
| just remember, if you are compiling php5 to enable session support... |
|
| |
|
|
|
 |
 |
 |
 |
 |
pmidas
Joined: 27 May 2008 Posts: 11
 |
Posted: Fri May 30, 2008 1:00 pm Post subject: |
 |
|
| now in new version this problem occur. |
|
| |
|
|
|
 |
 |
 |
 |
 |
Jazzer
Joined: 05 Jan 2007 Posts: 66 Location: Sylva, NC  |
Posted: Sun Apr 25, 2010 2:12 pm Post subject: session_register() Deprecated |
 |
|
Thomas,
In PHP 5.3.0 and above, session_register/session_is_registered/session_unregister have been deprecated. Any plans to switch to $_SESSION functionality?
John _________________ John W Smith
President / Owner
i1 Technologies, LLC |
|
| |
|
|
|
 |
 |
 |
 |
 |
gplhost Site Admin

Joined: 16 Feb 2005 Posts: 3718 Location: Tampa, florida and Singapore, Malaisia  |
Posted: Mon Apr 26, 2010 3:59 am Post subject: |
 |
|
Oh! And what shall we use instead to start the session headers? I already use $_SESSION in many places, I believe.
Also as an issue, is the use of ereg instead of the perl subset. This also is an issue with php 5.3.0 (it will do some warning, and it's totally removed from php 6). I was planning to move to it as well. A bit of help testing that out would be appreciated.
As for FreeBSD users, I highly recommend you guys to use the latest Git version (master branch 0.31.*, not the stable one). It has so many new patches thanks to Fernando M. Kierman (contributor from Argentina). His testing work has been quite impressive.
Thomas _________________ GPLHost:>_ Opensource hosting worldwide
Xen hosting with DTC pre-setup
Helping is not easy when request is not precise: please past logs, don't use "it said" or similar impersonal subjects, and try to be verbose and exhaustive on your problem description. |
|
| |
|
|
|
 |
 |
 |
 |
 |
|
 |
 |
 |
 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
 |