if (!extension_loaded('gd'))
After adopting one method from the 2 above, it should work.
regards,
zi
* { font-family:verdana,sans-serif; }
body {
margin:0;
padding:0;
background-color:#959595;
background-image:url('/manager/media/images/misc/buttonbar_gs.gif');
text-align:center;
}
ul, li, div, img, span, form, p, input, select, textarea { margin:0; padding:0; font-size:10px; }
a { text-decoration:none; font-weight:bold; color:black; }
a:hover { color:#FF6600; }
h1 { font-size:320%; color:#8ca4c4; margin:0; }
h2 { font-size:210%; color:#003399; margin:0; }
h3 { font-size:170%; color:#003399;margin:0; padding:10px 0 0 0; }
h4 { font-size:100%; color:#003399;margin:0; padding:0 0 10px 0; }
h5 { font-size:170%; color:#003399;margin:0; padding:10px 0 10px 0; }
.abitbigger { font-size:120%; }
.error { color:red; font-size:120%; }
.ok { color:green; font-size:120%; }
.delete { color:red; font-weight:bold; }
.update { color:green; font-weight:bold; }
.view { color:blue; font-weight:bold; }
#all { width:750px; margin:0 auto; }
#header { background-color:#f1f5fe; margin:15px 0 15px 0; padding:15px; text-align:left; }
#footer { background-color:#f1f5fe; margin:15px 0; padding:12px; text-align:right; color:#4682B4; font-size:90%; }
#footer p { margin:3px 0; }
#footer a { text-decoration:none; font-weight:bold; color:#6495ED; }
#footer a:hover { color:black; }
#main { background-color:white; padding:15px; margin:0 0 15px 0; text-align:left; }
.subheader { background-color:white; margin:0 0 15px 0; padding:5px 15px; text-align:left; }
.subfooter { background-color:white; margin:0 0 0 0; padding:5px 15px; text-align:left; }
.EPG2_install, .EPG2_uninstall { float:right; position:relative; top:-2px; margin:0 0 0 10px; }
.EPG2_gallery, .EPG2_g_create { padding:0 10px; margin:15px 0; background-color:#F5F5F5; height:270px; border:1px; border-color:#003399;}
.EPG2_picture, .EPG2_p_create { padding:0 10px; margin:15px 0; background-color:#F5F5F5; height:145px; }
.EPG2_g_create, .EPG2_p_create { background-color:#f1f5fe; }
.EPG2_line_view { padding:5px 10px; margin:10px 0; background-color:#F5F5F5; }
.EPG2_line_create { padding:5px 10px; margin:10px 0; background-color:#f1f5fe; }
.EPG2_line_view input, .EPG2_line_create input { float:right; position:relative; top:-2px; margin-left:10px; }
.EPG2_gallery_hover, .EPG2_g_create_hover { padding:0 10px; margin:15px 0; background-color:#D9E0F0; height:270px; border:1px;}
.EPG2_picture_hover, .EPG2_p_create_hover { padding:0 10px; margin:15px 0; background-color:#D9E0F0; height:145px; }
.EPG2_g_create_hover, .EPG2_p_create_hover { background-color:#CADBF9; }
.EPG2_line_view_hover { padding:5px 10px; margin:10px 0; background-color:#D9E0F0; }
.EPG2_line_create_hover { padding:5px 10px; margin:10px 0; background-color:#D9E0F0; }
.EPG2_line_view_hover input, .EPG2_line_create_hover input { float:right; position:relative; top:-2px; margin-left:10px; }
.longinputs { width:260px; float:left; text-align:right; }
.longinputs select { width:150px; }
.longinputs input { width:150px; }
.longinputs div, .shortinputs div { margin:0 0 6px 0; }
.longinputs2 { width:260px; float:right; text-align:right; }
.longinputs2 select { width:150px; }
.longinputs2 input { width:150px; }
.longinputs2 div { margin:0 0 6px 0; }
.shortinputs { width:150px; float:left; text-align:right; }
.shortinputs input { width:40px; }
.commentbox { width:275px; float:right; text-align:right; }
.commentbox textarea { text-align:left; width:270px; }
.picsizes { width:700px; text-align:left; clear:both; padding:10px 0; }
.picsizes input { width:40px; text-align:right; }
.submit { width:200px; float:right; clear:both; }
.submit input { width:200px; text-align:center; }
.thumbdiv { width:160px; float:left; text-align:center; }
.thumbdiv form { float:right; clear:right; }
.thumbdiv img { margin:0 auto; width:65px; height:65px; }
.thumbdiv a img { border:2px solid #959595; }
.thumbdiv a:hover img { border:2px solid #FF6600; }
.g_multi { width:700px; clear:both; text-align:right; padding:10px 0; }
.g_multi input { width:200px; text-align:center; }
.g_multi .delete { margin:0 50px; }
.p_multi { width:700px; clear:both; text-align:right; padding:10px 0; }
.p_multi input { width:200px; text-align:center; }
.p_multi div { float:left; }
.p_multi .browse { position:relative; left:203px; text-align:right; }
.p_multi div input { width:auto; text-align:left; }
.p_multi .delete { margin:0 50px; }
.// ----------------------------------------------
// Checking all sorts of things...
// Check to see if EPG2 is installed
if ( !( tableexists("EPG2_galleries") && tableexists("EPG2_galleries") ) )
{
$output .= '<p><b>Easy Peasy Gallery 2 not installed!</b></p>';
return $output;
}
. Now to fiddle around a little
Warning: fopen(../assets/modules/epg2/template.inc.html) [function.fopen]: failed to open stream: No such file or directory in C:\Documents and Settings\Jez\My Documents\xampp\xampp\htdocs\modx\manager\processors\execute_module.processor.php(103) : eval()’d code on line 183
Warning: filesize() [function.filesize]: stat failed for ../assets/modules/epg2/template.inc.html in C:\Documents and Settings\Jez\My Documents\xampp\xampp\htdocs\modx\manager\processors\execute_module.processor.php(103) : eval()’d code on line 184
Warning: fread(): supplied argument is not a valid stream resource in C:\Documents and Settings\Jez\My Documents\xampp\xampp\htdocs\modx\manager\processors\execute_module.processor.php(103) : eval()’d code on line 184
Warning: fclose(): supplied argument is not a valid stream resource in C:\Documents and Settings\Jez\My Documents\xampp\xampp\htdocs\modx\manager\processors\execute_module.processor.php(103) : eval()’d code on line 185
Is the page cached?
try using [!PhotoGallery!]
« MODx Parse Error » MODx encountered the following error while attempting to parse the requested resource: « PHP Parse Error » PHP error debug Error: mysql_select_db(): Access denied for user: 'wwwrun@localhost' (Using password: NO) Error type/ Nr.: Warning - 2 File: /www/htdocs/w006329e/pcpd/manager/includes/document.parser.class.inc.php(691) : eval()'d code Line: 704 Parser timing MySQL: 0.0000 s s (0 Requests) PHP: 0.0758 s s Total: 0.0758 s s

)