Menu

Can't get to configuration page

Help
som1335
2010-01-13
2013-05-30
1 2 > >> (Page 1 of 2)
  • som1335

    som1335 - 2010-01-13

    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

     
  • Greg Roach

    Greg Roach - 2010-01-13

    Please confirm the version of PGV you are trying to install.

     
  • som1335

    som1335 - 2010-01-13

    Version 4.1

     
  • Greg Roach

    Greg Roach - 2010-01-13

    That is a very old version (2007?)

    Is there a reason for using this old version, instead of the latest release (4.2.3)

     
  • som1335

    som1335 - 2010-01-13

    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.

     
  • Greg Roach

    Greg Roach - 2010-01-13

    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?

     
  • som1335

    som1335 - 2010-01-14

    Can't find the memory limit but it does say PHP ver 4.3.11

    I can post the screen if it will help

     
  • Greg Roach

    Greg Roach - 2010-01-14

    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.

     
  • som1335

    som1335 - 2010-01-14

    FYI
    Google search:
    Google

    Advanced Search
    Web
    Hide optionsShow options…

    Your search - site:www.albionme.com memory_limit - did not match any documents.

     
  • Greg Roach

    Greg Roach - 2010-01-14

    PS - this page (http://help.godaddy.com/article/1475) suggests that you should get at least 50M, which is plenty.

     
  • Greg Roach

    Greg Roach - 2010-01-14

    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)

     
  • som1335

    som1335 - 2010-01-14

    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.

     
  • macalter

    macalter - 2010-01-14

    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)

     
  • som1335

    som1335 - 2010-01-14

    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.

     
  • som1335

    som1335 - 2010-01-14

    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

     
  • macalter

    macalter - 2010-01-14

    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

     
  • som1335

    som1335 - 2010-01-14

    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

     
  • Gerry Kroll

    Gerry Kroll - 2010-01-14

    If there is no memory_limit line, the default is 8 Mb.  That's not anywhere near enough.

     
  • Greg Roach

    Greg Roach - 2010-01-14

    GoDaddy's documentation suggests you can change it using php.ini

     
  • som1335

    som1335 - 2010-01-14

    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

     
  • som1335

    som1335 - 2010-01-14

    Also PHP is at version 5.2 according to the Godaddy site
    Mike

     
  • Gerry Kroll

    Gerry Kroll - 2010-01-14

    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.

     
  • som1335

    som1335 - 2010-01-14

    Will do
    Thanks,
    mike

     
  • som1335

    som1335 - 2010-01-14

    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

     
1 2 > >> (Page 1 of 2)

Log in to post a comment.