Hi V@no
Thanks for your answer!
I created the rondom_mod.php file......
I need a short explenation on the high lighted rondom.php file part below. What exactly do I have to modify in the script in order to get it working? For instance, when I fill in the password, will I have to erase $db_password? And what about the root_path?
Thank you and a good slide in the new year
Oldie
// PATH to your 4images Gallery / PFAD zu Ihrer 4images Gallerie
define('ROOT_PATH', './4images/');
include(ROOT_PATH.'config.php');
include(ROOT_PATH.'includes/db_mysql.php');
include(ROOT_PATH.'includes/constants.php');
$site_db = new Db($db_host, $db_user, $db_password, $db_name);
function is_remote($file_name) {
return (preg_match('#^https?\\:\\/\\/[a-z0-9\-]+\.([a-z0-9\-]+\.)?[a-z]+#i', $file_name)) ? 1 : 0;I tried to fill in all the corresponding root infos and passwords of my page and db? When I try to open it via
www.oldtimers-im-fokus.ch/fotoblog/rondom.php ...i get the following errors:
Warning: Division by zero in /mnt/sites/oldtimers-im-fokus.ch/web/fotoblog/rondom.php on line 30
Warning: main(0config.php) [function.main]: failed to open stream: No such file or directory in /mnt/sites/oldtimers-im-fokus.ch/web/fotoblog/rondom.php on line 30
Warning: main(0config.php) [function.main]: failed to open stream: No such file or directory in /mnt/sites/oldtimers-im-fokus.ch/web/fotoblog/rondom.php on line 30
Warning: main() [function.include]: Failed opening '0config.php' for inclusion (include_path='.') in /mnt/sites/oldtimers-im-fokus.ch/web/fotoblog/rondom.php on line 30
Warning: Division by zero in /mnt/sites/oldtimers-im-fokus.ch/web/fotoblog/rondom.php on line 31
Warning: main(0includes/db_mysql.php) [function.main]: failed to open stream: No such file or directory in /mnt/sites/oldtimers-im-fokus.ch/web/fotoblog/rondom.php on line 31
Warning: main(0includes/db_mysql.php) [function.main]: failed to open stream: No such file or directory in /mnt/sites/oldtimers-im-fokus.ch/web/fotoblog/rondom.php on line 31
Warning: main() [function.include]: Failed opening '0includes/db_mysql.php' for inclusion (include_path='.') in /mnt/sites/oldtimers-im-fokus.ch/web/fotoblog/rondom.php on line 31
Warning: Division by zero in /mnt/sites/oldtimers-im-fokus.ch/web/fotoblog/rondom.php on line 32
Warning: main(0includes/constants.php) [function.main]: failed to open stream: No such file or directory in /mnt/sites/oldtimers-im-fokus.ch/web/fotoblog/rondom.php on line 32
Warning: main(0includes/constants.php) [function.main]: failed to open stream: No such file or directory in /mnt/sites/oldtimers-im-fokus.ch/web/fotoblog/rondom.php on line 32
Warning: main() [function.include]: Failed opening '0includes/constants.php' for inclusion (include_path='.') in /mnt/sites/oldtimers-im-fokus.ch/web/fotoblog/rondom.php on line 32
Fatal error: Cannot instantiate non-existent class: db in /mnt/sites/oldtimers-im-fokus.ch/web/fotoblog/rondom.php on line 34
Any idea?
Thanks
Oldie