Home > Fatal Error > Fatal Error Call To Undefined Function Session_start
Fatal Error Call To Undefined Function Session_start
Quality Add-Ons by WMTech © 2015 WebMachine Technologies, Inc. I have a working phpinfo() However when i add session_start(); I receive this: Fatal error: Call to undefined function session_start() in /usr/local/www/data-dist/test.php on line 2 Help. -------------------------------------------------------------------------------------------- [url]www.guide.be[/url] * [url]www.gids.be[/url] * how to ask questions... Removing elements from an array that are in another array Why does argv include the program name? navigate here
By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. DEBO Jurgen E. U need no code, since no code is parsed after the error is thrown!!!!! Back to source compiling, I presume ? http://stackoverflow.com/questions/27428424/call-to-undefined-function-session-start
To start viewing messages, select the forum that you want to visit from the selection below. Anyone can help me, or give ma a hint? :) Thanks! How is the Heartbleed exploit even possible? This forum is now closed to new posts, but you can browse existing content.
- Seems I messed up some things in upgrading and to try to install Zend Studio.
- I checked phpinfo and session support was enabled.
- All of our calls to session_start is on the line directly after '
- Call to undefined function session_start, what's wrong ? - PHP Development I have installed PHP 5.0.1 on FreeBSD 5.2.1 With Apache 2.0.50.
- You should, as told, run phpinfo(); and look for session module and also see if any functions are disabled Function below will show all extensions, including session module, if is loaded:
- Is this your first visit?
- This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant.
- Find More Posts by wellmt 05-31-2004, 08:08 PM #2 linux_pioneer Member Registered: May 2003 Distribution: Solaris 10, Solaris 8.0, Fedora Core 3 Posts: 203 Rep: Re: PHP: Call to
Forum New Posts FAQ Calendar Forum Actions Mark Forums Read Quick Links Today's Posts View Site Leaders What's New? I installed php5 and php5-cgi from opkg. Find More Posts by wellmt Thread Tools Show Printable Version Email this Page Search this Thread Advanced Search Posting Rules You may not post new threads You may not post Not the answer you're looking for?
Hello and welcome to our community! Search this Thread 05-31-2004, 05:56 PM #1 wellmt Member Registered: Oct 2003 Location: Oxford, England Distribution: Ubuntu Posts: 70 Rep: PHP: Call to undefined function: session_start() Hello I'm new Just starting out and have a question? https://forums.freebsd.org/threads/8175/ Guest September 14th,09:24 AM #2 Re: Call to undefined function session_start, what's wrong ?
Sessions are enabled by default unless you explicitly disable them. Share This Page Tweet Log in with Facebook Your name or email address: Password: Forgot your password? Matt Reply With Quote 11-29-2007,01:16 AM #2 _Aerospace_Eng_ View Profile View Forum Posts Visit Homepage Supreme Master coder! Thanks Steve.
Configure Command: './configure' '--prefix=/usr' '--datadir=/usr/share/php' '--mandir=/usr/share/man' '--bindir=/usr/bin' '--libdir=/usr/share' '--includedir=/usr/include' '--sysconfdir=/etc' '--with-_lib=lib' '--with-config-file-path=/etc' '--with-exec-dir=/usr/lib/php/bin' '--disable-debug' '--enable-inline-optimization' '--enable-memory-limit' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sigchild' '--disable-ctype' '--disable-session' '--without-mysql' '--disable-cli' '--without-pear' '--with-openssl' '--with-apxs2=/usr/sbin/apxs2-prefork' 'i586-suse-linux' Setting this up under http://www.sitepoint.com/forums/showthread.php?267971-PHP-Fatal-error-Call-to-undefined-function-session_start() Fatal error: Call to undefined function: session_start() in /usr/local/www/phpnuke/html/escal/setup/index.php on line 38 Any help is appreciated. To complete the subscription, please click the link in the email we just sent you. To check, in your phpinfo() page what do you see under >Session/Session Support? > >--- >Steve There isn't a Session section at all.
Which day of the week is today? check over here If you want to go with the latter, calls to session_start() are located at the very beginning so just look for the
I'll try to play around with it. wellmt View Public Profile View LQ Blog View Review Entries View HCL Entries Visit wellmt's homepage! I just tested it, and it gives an error like this: Warning: session_start() has been disabled for security reasons That's interesting though; I would have thought it would cause a fatal his comment is here Password Linux - Newbie This Linux forum is for members that are new to Linux.
For some reason after I did the 'make CONFIGURE_ARGS...", the install didn't perform as DSO, so I had to add '--with-apxs2=/usr/local/sbin/apxs' as one of my options. Reply With Quote « Previous Thread | Next Thread » Posting Permissions You may not post new threads You may not post replies You may not post attachments You may echo "PHP 5.2.5"; exit ( "Script End" ); Reply With Quote 11-29-2007,04:40 AM #5 Inigoesdr View Profile View Forum Posts Super Moderator Join Date Mar 2007 Location Florida, USA Posts 3,650
I wonder if a function is disabled (by host PHPconfiguration), will this also give error: Fatal error: Call to undefined function ...
or maybe this gives another Error message? I tried to do a ./configure --help, but got an error message saying that the ./configure command was not found. Im not sure how the BSD ports system works, but I assume you can pass compile options to it somehow. It's prety hard to configure Zend Optimizer/Studio.
Today's Posts FAQ Rules Guidelines Search Advanced Search Forum :: Server side development PHP Fatal error: Call to undefined function session_start If this is your first visit, be sure to check I resolved my session issue by installing this port: php4-extensions Hope this helps someone.Click to expand... asked 1 year ago viewed 3733 times active 3 months ago Visit Chat Related 135Weird PHP error: 'Can't use function return value in write context'0session_start() causes fatal error1PHP Session is not weblink You may have to register before you can post: click the register link above to proceed.
These were installed using the ports on FreeBSD. So are you saying that the --disable session and the --withoutmysql are compilation options that have been made by SuSE? You can now find them here. Please feel free to open a support ticket through out client area with any support issues.