bjohnson045 / phpMyDirectory

https://www.phpmydirectory.com
GNU General Public License v3.0
33 stars 21 forks source link

up loaded unencrypted files got this error on the listing #6

Open TowerForte opened 3 years ago

TowerForte commented 3 years ago

Fatal error: Call to undefined method Google_Map::getOutputVariables() in /home/pianotun/public_html/listing.php on line 736 Unknown Error

An error has occured in loading this page.

We have been automatically notified of this error. Please check back later.

If you are the administrator of this website please view the error log for more information.

TowerForte commented 3 years ago

Error log

Fatal Error: Call to undefined method Google_Map::getOutputVariables() in /home/pianotun/public_html/listing.php on line 736 |   Fatal Error: Call to undefined method Google_Map::getOutputVariables() in /home/pianotun/public_html/listing.php on line 736 |   Fatal Error: Call to undefined method Google_Map::getOutputVariables() in /home/pianotun/public_html/listing.php on line 736 |   Fatal Error: Call to undefined method Google_Map::getOutputVariables() in /home/pianotun/public_html/listing.php on line 736 |   Fatal Error: Call to undefined method Google_Map::getOutputVariables() in /home/pianotun/public_html/listing.php on line 736 |   Fatal Error: Call to undefined method Google_Map::getOutputVariables() in /home/pianotun/public_html/listing.php on line 736 |   Fatal Error: Call to undefined method Google_Map::getOutputVariables() in /home/pianotun/public_html/listing.php on line 736 |  

TowerForte commented 3 years ago

I uploaded an old listing.php and that solved the problem I am using PHP 5.640 and MySQL Version 5.5.6log the site will be moving over to php7.1 on the 6th December ironcube 6.1 is on the server but now the files are not encrypted we should not need it

Barrie

TowerForte commented 3 years ago

We upgraded to php7.1 it seems fine one warning. in the CP area but it all seems to OK and faster

allow_url_fopen disabled The PHP configuration setting allow_url_fopen is disabled. It is recommended to enable this setting.

I will ask for the tobe changed

TowerForte commented 3 years ago

Since updating, we have 2 big errors Scheduled tasks have not run in the last 5 days and links to Classifieds are coming up as 404

any help

Barrie

TowerForte commented 3 years ago

this is the error

Fatal Error (Uncaught Exception): syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting '-' or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /home/pianotun/public_html/includes/cron/cron_locations.php on line 34  

line 34 is

$cron['cron_locations'] = array('day'=>-1,'hour'=>-1,'minute'=>0,'run_order'=>1);

}

bjohnson045 commented 3 years ago

this is the error

Fatal Error (Uncaught Exception): syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting '-' or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /home/pianotun/public_html/includes/cron/cron_locations.php on line 34   line 34 is

$cron['cron_locations'] = array('day'=>-1,'hour'=>-1,'minute'=>0,'run_order'=>1);

}

Use this file it has been patched for this issue: https://github.com/bjohnson045/phpMyDirectory/blob/develop/includes/cron/cron_locations.php