Hello all,
Well I took the plung and installed phpwcms on godaddy.com and got rid of magnolia CMS and my costly hosting firm.
Everything went pretty well with the install, I was able to get it to see the mysql server. Now http://www.wireless-living.net/index.html shows up along with index.php (blank as it should be) and login.php. But once I login it gives these errors.
Anyone know how I can fix them?
Warning: ini_set, get_current_user, get_defined_constants, get_include_path, php_ini_scanned_files, php_uname, phpcredits, phpinfo, restore_include_path, set_include_path, set_time_limit, version_compare, zend_version, getmyinode, getmypid, getmyuid, getmygid, getopt, getrusage, assert_options, assert, dl() has been disabled for security reasons in /var/chroot/home/content/k/e/l/kelleylaw/html/login.php on line 23
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /var/chroot/home/content/k/e/l/kelleylaw/html/login.php:23) in /var/chroot/home/content/k/e/l/kelleylaw/html/login.php on line 24
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /var/chroot/home/content/k/e/l/kelleylaw/html/login.php:23) in /var/chroot/home/content/k/e/l/kelleylaw/html/login.php on line 24
Warning: Cannot modify header information - headers already sent by (output started at /var/chroot/home/content/k/e/l/kelleylaw/html/login.php:23) in /var/chroot/home/content/k/e/l/kelleylaw/html/login.php on line 128
Thanks for the Help,
Kelley
installation on godaddy.com
- Oliver Georgi
- Site Admin
- Posts: 9951
- Joined: Fri 3. Oct 2003, 22:22
- Location: Dessau-Roßlau
- Contact:
Hm, ini_set for security reasons? OK - only thing you can do is comment the lines like following in login.php and phpwcms.php
if(ini_get('register_globals')) ini_set('register_globals', '0');
There are some checks for ini_get() and then based on the given value I use ini_set() or set_time_limit().
All you have to do is check if function exists too like this:
or/and
you only need to add the or
Oliver
if(ini_get('register_globals')) ini_set('register_globals', '0');
There are some checks for ini_get() and then based on the given value I use ini_set() or set_time_limit().
All you have to do is check if function exists too like this:
Code: Select all
if(ini_get('register_globals') && function_exists('ini_set')) ini_set('register_globals', '0');Code: Select all
if(ini_get('safe_mode') && function_exists('set_time_limit')) set_time_limit(0);Code: Select all
" && function_exists('ini_set')"Code: Select all
" && function_exists('set_time_limit')"- Oliver Georgi
- Site Admin
- Posts: 9951
- Joined: Fri 3. Oct 2003, 22:22
- Location: Dessau-Roßlau
- Contact:
Here is a file with all patched files:
http://www.phpwcms.de/support/patched_f ... 7-2004.zip
Oliver
http://www.phpwcms.de/support/patched_f ... 7-2004.zip
Oliver