Here is the error I get (using GO Daddy for Hosting and have upgraded my account to accept PHP, installing 4.1 becasue go-daddy has PHP 5.o):
ERROR 2: extension_loaded() has been disabled for security reasons
0 Error occurred on in function extension_loaded
1 called from line 737 of file PEAR.php in function loadextension
2 called from line 195 of file mysql.php in function connect
3 called from line 555 of file DB.php in function connect
4 called from line 101 of file functions.php in function check_db
5 called from line 312 of file session.php in function require_once
6 called from line 69 of file config.php in function require
7 called from line 29 of file install.php
ERROR 2: ini_get() has been disabled for security reasons
0 Error occurred on in function ini_get
1 called from line 739 of file PEAR.php in function loadextension
2 called from line 195 of file mysql.php in function connect
3 called from line 555 of file DB.php in function connect
4 called from line 101 of file functions.php in function check_db
5 called from line 312 of file session.php in function require_once
6 called from line 69 of file config.php in function require
7 called from line 29 of file install.php''
Would really like to get this to work as 1 of my genealogy pages has over 60K names
Thanks for any help, and yes I browsed and searched the forums but didn't find a match to my error message.
Mike
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The tech at GODADDy wasn't sure they had PHP 5.2 installed, he just knew they do support PHP. I tried the latest version of PHPGEDVIEW but instead of the above error I get a blank page when I go to http://mysite.com/albion genealogy/phpgedview (where mysite.com is replaced with the actuual server addrress. I thinkI have the correct path but the change from the directions to the program is the addition of annother folder deep on the server, but that is where the phpgedview folder resides.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
GoDaddy offer both PHP4 and PHP5. IIRC, they default to PHP4. Instructions for switching to PHP can be found at http://help.godaddy.com/article/3937 although googling gives better/clearer instructions.
Switch to PHP5 - use the script you just created to check that it has taken effect
Then look again for the memory limit. It is there somewhere. PGV ideally needs 32M, but may run with 24M. If your "master value" is much less than this, you will struggle.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You misunderstood, the google search I posted was a site search just to show that Memory_limit was not found. I did follow your instructions as per above message. Just have to wait for changes to take affect. Based on that and what you have said so far, in the mean time I will unload the old version of PHPGEDVIEW and upload the latest version.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Still no memory_limit, but pretty sure the reason is that the settings are in the update process. I'll try again when update process at GoDaddy is complete
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Directive Local Value Master Value
allow_call_time_pass_reference Off Off
allow_url_fopen On On
allow_url_include Off Off
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_globals_jit On On
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions no value no value
display_errors On On
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log no value no value
error_prepend_string no value no value
error_reporting 6135 6135
expose_php On On
extension_dir ./ ./
file_uploads On On
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .:/usr/local/php5/lib/php:/usr/local/lib/php .:/usr/local/php5/lib/php:/usr/local/lib/php
log_errors Off Off
log_errors_max_len 1024 1024
magic_quotes_gpc Off Off
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
mail.force_extra_parameters no value no value
max_execution_time 30 30
max_input_nesting_level 64 64
max_input_time 60 60
memory_limit 90M 90M <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< OR WHATEVER YOUR NUMBER IS
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Here is my results in the same section. Its alphabetical and the memory line does not exist
Directive Local Value Master Value
allow_call_time_pass_reference Off Off
allow_url_fopen On On
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions getmyinode, getopt, getrusage, extension_loaded, dl, mysql_pconnect, crack_check, crack_closedict, crack_getlastmessage, crack_opendict, fsockopen, pfsockopen, mysql_list_dbs, mysql_stat, ini_get, ini_get_all, ini_alter, ini_set, get_current_user, get_defined_constants, get_include_path, php_ini_scanned_files, php_uname, phpcredits, restore_include_path, set_include_path, set_time_limit, version_compare, zend_version, getmypid, getmyuid, getmygid, assert_options, assert, fopen, fwrite, fread, file, fpassthru, file, mail, opendir, readdir, closedir getmyinode, getopt, getrusage, extension_loaded, dl, mysql_pconnect, crack_check, crack_closedict, crack_getlastmessage, crack_opendict, fsockopen, pfsockopen, mysql_list_dbs, mysql_stat, ini_get, ini_get_all, ini_alter, ini_set, get_current_user, get_defined_constants, get_include_path, php_ini_scanned_files, php_uname, phpcredits, restore_include_path, set_include_path, set_time_limit, version_compare, zend_version, getmypid, getmyuid, getmygid, assert_options, assert, fopen, fwrite, fread, file, fpassthru, file, mail, opendir, readdir, closedir
display_errors Off Off
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log no value no value
error_prepend_string no value no value
error_reporting 2047 2047
expose_php On On
extension_dir ./ ./
file_uploads On On
gpc_order GPC GPC
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .;c:\php4\pear .;c:\php4\pear
log_errors On On
log_errors_max_len 1024 1024
magic_quotes_gpc Off Off
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
max_execution_time 30 30
max_input_time 60 60
open_basedir no value no value
output_buffering 4096 4096
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok, now that the update is complete at GODADDY memory_limit now shows and its 32. I went again to the control panel via web page address as in directions and now the error message is:
Parse error: syntax error, unexpected $end, expecting T_STRING in D:\Hosting\2439878\html\albion\Albion Genealogy\phpgedview\includes\functions\functions.php on line 3689
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It looks as if your upload of the unzipped PGV distribution didn't work right.
I'd download PGV 4.2.3 again, and then unzip it on your local PC. After that, upload the unzipped version to the server, overwriting what's already there.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Fatal error: PDO/mysql is not installed. in D:\Hosting\2439878\html\albion\Albion Genealogy\phpgedview\includes\classes\class_pgv_db.php on line 102
I called GODADDY and they said PDO is not supported on Windows hosting and the I needed to use MSQYi. Will this work and if so does anyone knwo the command line to use to get into the admin panel using msqli? I am reading wiki, but its making my head spin.
Mike
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-01-15
Given the problems you've had I'd say you need a new host. Moving to MYSQLi "is" a solution - but a bad one IMHO. PGV will work with it, but ideally only if you keep our data files small.
Read these two forum topics, they both refer to GODADDY and PDO.
Here is the error I get (using GO Daddy for Hosting and have upgraded my account to accept PHP, installing 4.1 becasue go-daddy has PHP 5.o):
ERROR 2: extension_loaded() has been disabled for security reasons
0 Error occurred on in function extension_loaded
1 called from line 737 of file PEAR.php in function loadextension
2 called from line 195 of file mysql.php in function connect
3 called from line 555 of file DB.php in function connect
4 called from line 101 of file functions.php in function check_db
5 called from line 312 of file session.php in function require_once
6 called from line 69 of file config.php in function require
7 called from line 29 of file install.php
ERROR 2: ini_get() has been disabled for security reasons
0 Error occurred on in function ini_get
1 called from line 739 of file PEAR.php in function loadextension
2 called from line 195 of file mysql.php in function connect
3 called from line 555 of file DB.php in function connect
4 called from line 101 of file functions.php in function check_db
5 called from line 312 of file session.php in function require_once
6 called from line 69 of file config.php in function require
7 called from line 29 of file install.php''
Would really like to get this to work as 1 of my genealogy pages has over 60K names
Thanks for any help, and yes I browsed and searched the forums but didn't find a match to my error message.
Mike
Please confirm the version of PGV you are trying to install.
Version 4.1
That is a very old version (2007?)
Is there a reason for using this old version, instead of the latest release (4.2.3)
The tech at GODADDy wasn't sure they had PHP 5.2 installed, he just knew they do support PHP. I tried the latest version of PHPGEDVIEW but instead of the above error I get a blank page when I go to http://mysite.com/albion genealogy/phpgedview (where mysite.com is replaced with the actuual server addrress. I thinkI have the correct path but the change from the directions to the program is the addition of annother folder deep on the server, but that is where the phpgedview folder resides.
GoDaddy's help page (http://help.godaddy.com/topic/419/article/4180) says that they run PHP5.2.5.
Any "tech" who struggles on this sort of basic question doesn't really deserve to be called a "tech".
What memory limit does your host impose?
Tip: rather than ask support, create a file called phpinfo.php containing just
<?php phpinfo(); ?>
and access it from your web-browser using the address http://mysite.com/albion_genealogy/phpinfo.php
Look for an entry memory_limit. What are the local and master values?
Can't find the memory limit but it does say PHP ver 4.3.11
I can post the screen if it will help
GoDaddy offer both PHP4 and PHP5. IIRC, they default to PHP4. Instructions for switching to PHP can be found at http://help.godaddy.com/article/3937 although googling gives better/clearer instructions.
Switch to PHP5 - use the script you just created to check that it has taken effect
Then look again for the memory limit. It is there somewhere. PGV ideally needs 32M, but may run with 24M. If your "master value" is much less than this, you will struggle.
FYI
Google search:
Google
Advanced Search
Web
Hide optionsShow options…
Your search - site:www.albionme.com memory_limit - did not match any documents.
PS - this page (http://help.godaddy.com/article/1475) suggests that you should get at least 50M, which is plenty.
No - I said a google search for instructiosn on getting GoDaddy to switch from PHP4 to PHP5.
The memory limit is in the phpinfo.php page. Use your browser's search functions (e.g. CTRL-F on Firefox)
Changes made and GODADDY site has popup stating account changes in progress. thanks again will get back to you as soon as changes take effect.
I just created and installed the file, out of curiosity as it's come up before for me. Found memory limit after these headings.
PHP Credits
Configuration
PHP Core
Takes a scroll past the initial information block. So it does exist :) (Mine says 90M)
You misunderstood, the google search I posted was a site search just to show that Memory_limit was not found. I did follow your instructions as per above message. Just have to wait for changes to take affect. Based on that and what you have said so far, in the mean time I will unload the old version of PHPGEDVIEW and upload the latest version.
Still no memory_limit, but pretty sure the reason is that the settings are in the update process. I'll try again when update process at GoDaddy is complete
som1335: Here's a clue of where the line is:
Directive Local Value Master Value
allow_call_time_pass_reference Off Off
allow_url_fopen On On
allow_url_include Off Off
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_globals_jit On On
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions no value no value
display_errors On On
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log no value no value
error_prepend_string no value no value
error_reporting 6135 6135
expose_php On On
extension_dir ./ ./
file_uploads On On
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .:/usr/local/php5/lib/php:/usr/local/lib/php .:/usr/local/php5/lib/php:/usr/local/lib/php
log_errors Off Off
log_errors_max_len 1024 1024
magic_quotes_gpc Off Off
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
mail.force_extra_parameters no value no value
max_execution_time 30 30
max_input_nesting_level 64 64
max_input_time 60 60
memory_limit 90M 90M <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< OR WHATEVER YOUR NUMBER IS
Here is my results in the same section. Its alphabetical and the memory line does not exist
Directive Local Value Master Value
allow_call_time_pass_reference Off Off
allow_url_fopen On On
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions getmyinode, getopt, getrusage, extension_loaded, dl, mysql_pconnect, crack_check, crack_closedict, crack_getlastmessage, crack_opendict, fsockopen, pfsockopen, mysql_list_dbs, mysql_stat, ini_get, ini_get_all, ini_alter, ini_set, get_current_user, get_defined_constants, get_include_path, php_ini_scanned_files, php_uname, phpcredits, restore_include_path, set_include_path, set_time_limit, version_compare, zend_version, getmypid, getmyuid, getmygid, assert_options, assert, fopen, fwrite, fread, file, fpassthru, file, mail, opendir, readdir, closedir getmyinode, getopt, getrusage, extension_loaded, dl, mysql_pconnect, crack_check, crack_closedict, crack_getlastmessage, crack_opendict, fsockopen, pfsockopen, mysql_list_dbs, mysql_stat, ini_get, ini_get_all, ini_alter, ini_set, get_current_user, get_defined_constants, get_include_path, php_ini_scanned_files, php_uname, phpcredits, restore_include_path, set_include_path, set_time_limit, version_compare, zend_version, getmypid, getmyuid, getmygid, assert_options, assert, fopen, fwrite, fread, file, fpassthru, file, mail, opendir, readdir, closedir
display_errors Off Off
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log no value no value
error_prepend_string no value no value
error_reporting 2047 2047
expose_php On On
extension_dir ./ ./
file_uploads On On
gpc_order GPC GPC
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .;c:\php4\pear .;c:\php4\pear
log_errors On On
log_errors_max_len 1024 1024
magic_quotes_gpc Off Off
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
max_execution_time 30 30
max_input_time 60 60
open_basedir no value no value
output_buffering 4096 4096
If there is no memory_limit line, the default is 8 Mb. That's not anywhere near enough.
GoDaddy's documentation suggests you can change it using php.ini
Ok, now that the update is complete at GODADDY memory_limit now shows and its 32. I went again to the control panel via web page address as in directions and now the error message is:
Parse error: syntax error, unexpected $end, expecting T_STRING in D:\Hosting\2439878\html\albion\Albion Genealogy\phpgedview\includes\functions\functions.php on line 3689
Also PHP is at version 5.2 according to the Godaddy site
Mike
It looks as if your upload of the unzipped PGV distribution didn't work right.
I'd download PGV 4.2.3 again, and then unzip it on your local PC. After that, upload the unzipped version to the server, overwriting what's already there.
Will do
Thanks,
mike
This is the error I get now:
ERROR 256: PDO/mysql is not installed.
Fatal error: PDO/mysql is not installed. in D:\Hosting\2439878\html\albion\Albion Genealogy\phpgedview\includes\classes\class_pgv_db.php on line 102
I called GODADDY and they said PDO is not supported on Windows hosting and the I needed to use MSQYi. Will this work and if so does anyone knwo the command line to use to get into the admin panel using msqli? I am reading wiki, but its making my head spin.
Mike
Given the problems you've had I'd say you need a new host. Moving to MYSQLi "is" a solution - but a bad one IMHO. PGV will work with it, but ideally only if you keep our data files small.
Read these two forum topics, they both refer to GODADDY and PDO.
https://sourceforge.net/projects/phpgedview/forums/forum/185166/topic/3368417
https://sourceforge.net/projects/phpgedview/forums/forum/185166/topic/3432279
Looks to me like they "can" supply it, but only for certain packages.
I strongly urge you to look elsewhere.
Nigel