There's an error message below and you can find more details in gallery3/var/logs (look for the file with the most recent date on it). Stuck? Stop by the Gallery 3 Forums and ask for help. You can also look at our list of open tickets to see if the problem you're seeing has been reported. If you post a request, here's some useful information to include:
remove Systeminformationen
* Computername: XXX
* Betriebssystem: Linux 2.6.18-028stab068.3-ent
* Apache: Apache
* PHP: 5.2.6-1+lenny9
* MySQL: 5.0.51a-24+lenny4
* Serverauslastung: 0.05 0.13 0.11
* Grafik Toolkit: gd
remove Gallery Statistiken
* Version: 3.0 (Santa Fe)
* Alben: 4
* Fotos: 127
ErrorException [ Warning Message ]: shell_exec() has been disabled for security reasons
1.
MODPATH/gallery/helpers/graphics.php[ 329 ]
324 // ImageMagick 325 $path = exec("which convert"); 326 $toolkits->imagemagick->name = "ImageMagick"; 327 if ($path) { 328 if (@is_file($path)) { 329 preg_match('/Version: \S+ (\S+)/', `convert -v`, $matches); 330 $version = $matches[1]; 331 332 $toolkits->imagemagick->installed = true; 333 $toolkits->imagemagick->version = $version; 334 $toolkits->imagemagick->binary = $path;
2.
{PHP Interer Zugriff} » gallery_error_Core::error_handler()
3.
MODPATH/gallery/helpers/graphics.php[ 329 ] » shell_exec( Argumente )
0
string(10) "convert -v"
324 // ImageMagick
325 $path = exec("which convert");
326 $toolkits->imagemagick->name = "ImageMagick";
327 if ($path) {
328 if (@is_file($path)) {
329 preg_match('/Version: \S+ (\S+)/', `convert -v`, $matches);
330 $version = $matches[1];
331
332 $toolkits->imagemagick->installed = true;
333 $toolkits->imagemagick->version = $version;
334 $toolkits->imagemagick->binary = $path;
4.
MODPATH/gallery/controllers/admin_graphics.php[ 25 ] » graphics_Core::detect_toolkits()
20class Admin_Graphics_Controller extends Admin_Controller {
21 public function index() {
22 $view = new Admin_View("admin.html");
23 $view->page_title = t("Graphics settings");
24 $view->content = new View("admin_graphics.html");
25 $view->content->tk = graphics::detect_toolkits();
26 $view->content->active = module::get_var("gallery", "graphics_toolkit", "none");
27 print $view;
28 }
29
30 public function choose($toolkit_id) {
5.
{PHP Interer Zugriff} » Admin_Graphics_Controller->index()
6.
MODPATH/gallery/controllers/admin.php[ 62 ] » call_user_func_array( Argumente )
function_name
array(2) (
"0 (type: Admin_Graphics_Controller)" => array(1) (
"private: theme" => NULL
)
1 => string(5) "index"
)
parameters
array(0)
57
58 if (!method_exists($controller_name, $method)) {
59 throw new Kohana_404_Exception();
60 }
61
62 call_user_func_array(array(new $controller_name, $method), $args);
63 }
64
65 private static function _reauth_check() {
66 $session = Session::instance();
67 $last_active_auth = $session->get("active_auth_timestamp", 0);
7.
{PHP Interer Zugriff} » Admin_Controller->__call( Argumente )
controller_name
string(8) "graphics"
args
array(0)
8.
SYSPATH/core/Kohana.php[ 331 ] » ReflectionMethod->invokeArgs( Argumente )
object
array(1) (
"private: theme" => NULL
)
args
array(2) (
0 => string(8) "graphics"
1 => array(0)
)
326
327 // Start the controller execution benchmark
328 Benchmark::start(SYSTEM_BENCHMARK.'_controller_execution');
329
330 // Execute the controller method
331 $method->invokeArgs($controller, $arguments);
332
333 // Controller method has been executed
334 Event::run('system.post_controller');
335
336 // Stop the controller execution benchmark
9.
{PHP Interer Zugriff} » Kohana_Core::instance( Argumente )
0
NULL
10.
SYSPATH/core/Event.php[ 208 ] » call_user_func_array( Argumente )
function_name
array(2) (
0 => string(6) "Kohana"
1 => string(8) "instance"
)
parameters
array(1) (
0 => NULL
)
203 Event::$data =& $data;
204 $callbacks = Event::get($name);
205
206 foreach ($callbacks as $callback)
207 {
208 call_user_func_array($callback, array(&$data));
209 }
210
211 // Do this to prevent data from getting 'stuck'
212 $clear_data = '';
213 Event::$data =& $clear_data;
11.
APPPATH/Bootstrap.php[ 67 ] » Event_Core::run( Argumente )
name
string(14) "system.execute"
62
63// End system_initialization
64Benchmark::stop(SYSTEM_BENCHMARK.'_system_initialization');
65
66// Make the magic happen!
67Event::run('system.execute');
12.
DOCROOT/index.php[ 97 ] » require( Argumente )
0
string(54) "/var/www/web16/html/gallery3/application/Bootstrap.php"
92if (file_exists("local.php")) {
93 include("local.php");
94}
95
96// Initialize.
97require APPPATH . "Bootstrap" . EXT;
Posts: 16504
First problem: The upgrade doesn't "auto-upgrade". In other words, it does not go out, download the files and upgrade. Follow these guides:
http://codex.gallery2.org/Gallery3:User_guide:Gallery3:Installing_and_upgrading#Upgrading
2nd problem: exec() has been disabled on your server. Without PHP being able to use exec() you can't execute any binaries, like ImageMagick, so GD is the only choice you have for graphics toolkits.
____________________________________________
Like Gallery? Like the support? Donate now!
Posts: 5
Thanks for your help!
You can see in the server-information that we already use only GD - and GD should run without exec() ?
We had no problem with GD and the exec() - since the broke update? I don't know what we changed that the error occurs.
Posts: 27300
Issue #2:
The image toolkit that Gallery is using is not GD.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 5
Here are my system-informations:
graphic toolkit: gd
Can you help me, how to change Gallery3 using the GD?
Posts: 16504
Show us your settings under Admin > Settings > Advanced
____________________________________________
Like Gallery? Like the support? Donate now!
Posts: 5
Now it runs - but my hosting-partner enabled shell_exec(). This was never enabled before - and gallery3 runs anyway.
Here are the settings:
Posts: 16504
So everything is working now?
____________________________________________
Like Gallery? Like the support? Donate now!