Suche auf lima-city
-
in: deutsche install-anleitung jobberbase
geschrieben von ivpa
Ähm, ich hab das auf 1und1 laufen
-
in: deutsche install-anleitung jobberbase
geschrieben von ivpa
Hallo, ich habe das Problem, dass ich nach der deutschen Installationsanleitung zu Jobberbase installiert habe.
Bei mir findet er die DB_ host nicht
Fehlermeldung:
Parse error: syntax error, unexpected '{' in /homepages/26/d13353337/htdocs/arbeitvermitteln/public/_config/config.php on line 60
So hab ich das bei mir eingetragen in config.envs.php.Auch die datei jobberbase.sql hab ich nach Anleitung angepasst.
Hab die datenbank Nr mehrfach überprüft...ist auch kein schreibfehler drin.
Den Ordner public habe ich als unterordner auf meiner HP abgelegt www.arbeitvermitteln.de
Aufzurufen unter Datenbank ganz links unten
<?php /** * Define environments * */ // local (http://localhost/jobberbase/public) $__instances['local'] = array( // should be a unique part of the url (or the entire url if you wish) 'prefix' => 'localhost', // mysql credentials 'db_host' => 'localhost', 'db_port' => 3306, 'db_user' => 'root', 'db_password' => '', 'db_name' => 'jobberbase', 'db_prefix' => '', // your site's full url 'app_url' => 'http://localhost/jobberbase/trunk/public/', // error reporting 'ini_error_reporting' => E_ALL, 'ini_display_errors' => 'On', // environment setting 1 (use 'local' for localhost/testing OR 'online' for live, production environment) 'location' => 'local', // environment setting 2 (use 'dev' together with 'local' in the previous setting OR 'prod' with 'online') 'environment' => 'dev', //'apache_mod_rewrite', 'iis_url_rewrite' -microsoft URL Rewrite module, 'iis_isapi_rewrite' 'rewrite_mode' => 'apache_mod_rewrite' ); // live (http://arbeitvermitteln.de) $__instances['live'] = array( 'prefix' => 'arbeitvermitteln.de', 'db_host' => 'mysql.arbeitvermitteln.de', 'db_port' => 3306, 'db_user' => 'dboxxxxxxx', 'db_password' => 'xxxxxxxx', 'db_name' => 'dbxxxxxxxx', 'db_prefix' => 'jb_', 'app_url' => 'http://arbeitvermitteln.de/', 'ini_error_reporting' => E_ALL, 'ini_display_errors' => 'On', 'location' => 'online', 'environment' => 'dev', 'rewrite_mode' => 'apache_mod_rewrite' ); // setup current instance foreach ($__instances as $__instance) { // http requests if (isset($_SERVER['HTTP_HOST'])) { $_compare_to = $_SERVER['HTTP_HOST']; } if (strstr($_compare_to, $__instance['prefix'])) { define('DB_HOST', $__instance['db_host']); define('DB_PORT', $__instance['db_port']); define('DB_USER', $__instance['db_user']); define('DB_PASS', $__instance['db_password']); define('DB_NAME', $__instance['db_name']); define('DB_PREFIX', $__instance['db_prefix']); // values kind of redundant, they indicate wether this is a live/production or dev/testing environment define('LOCATION', $__instance['location']); define('ENVIRONMENT', $__instance['environment']); // base url of the app define('APP_URL', $__instance['app_url']); define('REWRITE_MODE', $__instance['rewrite_mode']); // error reporting ini_set('error_reporting', $__instance['ini_error_reporting']); ini_set('display_errors', $__instance['ini_display_errors']); break; } } ?>
-
in: date funktioniert nicht wie es soll
geschrieben von ivpa
Hallo, ich habe auch das Problem, dass ich nach der deutschen Installationsanleitung zu Jobberbase installiert habe.
Bei mir findet er die DB_ host nicht
Fehlermeldung:
Parse error: syntax error, unexpected '{' in /homepages/26/d13353337/htdocs/arbeitvermitteln/public/_config/config.php on line 60
So hab ich das bei mir eingetragen
<?php /** * Define environments * */ // local (http://localhost/jobberbase/public) $__instances['local'] = array( // should be a unique part of the url (or the entire url if you wish) 'prefix' => 'localhost', // mysql credentials 'db_host' => 'localhost', 'db_port' => 3306, 'db_user' => 'root', 'db_password' => '', 'db_name' => 'jobberbase', 'db_prefix' => '', // your site's full url 'app_url' => 'http://localhost/jobberbase/trunk/public/', // error reporting 'ini_error_reporting' => E_ALL, 'ini_display_errors' => 'On', // environment setting 1 (use 'local' for localhost/testing OR 'online' for live, production environment) 'location' => 'local', // environment setting 2 (use 'dev' together with 'local' in the previous setting OR 'prod' with 'online') 'environment' => 'dev', //'apache_mod_rewrite', 'iis_url_rewrite' -microsoft URL Rewrite module, 'iis_isapi_rewrite' 'rewrite_mode' => 'apache_mod_rewrite' ); // live (http://arbeitvermitteln.de) $__instances['live'] = array( 'prefix' => 'arbeitvermitteln.de', 'db_host' => 'mysql.arbeitvermitteln.de', 'db_port' => 3306, 'db_user' => 'dboxxxxxxxxxx', 'db_password' => 'xxxxxxxxx', 'db_name' => 'jobberbase', 'db_prefix' => 'jb_', 'app_url' => 'http://arbeitvermitteln.de/', 'ini_error_reporting' => E_ALL, 'ini_display_errors' => 'On', 'location' => 'online', 'environment' => 'dev', 'rewrite_mode' => 'apache_mod_rewrite' ); // setup current instance foreach ($__instances as $__instance) { // http requests if (isset($_SERVER['HTTP_HOST'])) { $_compare_to = $_SERVER['HTTP_HOST']; } if (strstr($_compare_to, $__instance['prefix'])) { define('DB_HOST', $__instance['db_host']); define('DB_PORT', $__instance['db_port']); define('DB_USER', $__instance['db_user']); define('DB_PASS', $__instance['db_password']); define('DB_NAME', $__instance['db_name']); define('DB_PREFIX', $__instance['db_prefix']); // values kind of redundant, they indicate wether this is a live/production or dev/testing environment define('LOCATION', $__instance['location']); define('ENVIRONMENT', $__instance['environment']); // base url of the app define('APP_URL', $__instance['app_url']); define('REWRITE_MODE', $__instance['rewrite_mode']); // error reporting ini_set('error_reporting', $__instance['ini_error_reporting']); ini_set('display_errors', $__instance['ini_display_errors']); break; } } ?>
Die datei jobberbase.spl hab ich auch angepasst