Firefox PHP

Module: Easy Color Scheme Manager

Posted by Joe Curia 
Re: Module: Easy Color Scheme Manager
May 09, 2008 07:26PM
Sorry, still the same. The log shows:

Message:

PHP notice: Undefined index: usescheme

PHP notice generated at /usr/local/apache2/htdocs/EABforum/mods/easy_colorscheme/settings.php:202

Back trace:

Function run_normal_page called at
{path to Phorum}/mods/easy_colorscheme/settings.php:1304
----
Function include_once called at
{path to Phorum}/include/admin/modsettings.php:29
----
Function include_once called at
{path to Phorum}/admin.php:82
----


Same errors, different lines...
Re: Module: Easy Color Scheme Manager
May 09, 2008 07:39PM
Ok, that should have captured any parsing errors (I think). Couple more questions. What browser are you using? Could you paste a copy of the page source here? (use the button in the message box)


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Re: Module: Easy Color Scheme Manager
May 09, 2008 07:41PM
OK, I think I found some PHP errors. This was in the Apache error log (/usr/local/apache2/logs/error_log).

[Fri May 09 13:38:59 2008] [error] [client address] PHP Fatal error: Call to undefined function imagecreatefrompng() in /usr/local/apache2/htdocs/EABforum/mods/easy_colorscheme/settings.php on line 412, referer: forumpath/admin.php?module=mods
[Fri May 09 13:39:27 2008] [error] [client address] PHP Fatal error: Call to undefined function imagecreatefrompng() in /usr/local/apache2/htdocs/EABforum/mods/easy_colorscheme/settings.php on line 412, referer: forumpath/admin.php


Does this provide any clues...?
Re: Module: Easy Color Scheme Manager
May 09, 2008 07:49PM
I have tried it in IE 7 and Firefox 2.0 - same result either way.

Here is the page source from IE 7:

<html>
<head>
<title>Phorum Admin</title>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<style type="text/css">

body
{
    font-family: Lucida Sans Unicode, Lucida Grand, Verdana, Arial, Helvetica;
    font-size: 13px;
}

input, textarea, select, td
{
    font-family: Lucida Sans Unicode, Lucida Grand, Verdana, Arial, Helvetica;
    font-size: 13px;
    border-color: #EEEEEE;
}

.input-form-th
{
    font-family: Lucida Sans Unicode, Lucida Grand, Verdana, Arial, Helvetica;
    font-size: 13px;
    padding: 3px;
    background-color: #DDDDEA;
}

.input-form-td
{
    font-family: Lucida Sans Unicode, Lucida Grand, Verdana, Arial, Helvetica;
    font-size: 13px;
    padding: 3px;
    background-color: #EEEEFA;
}

.input-form-td-break, .PhorumAdminTitle
{
    font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: bold;
    padding: 3px;
    background-color: Navy;
    color: White;
}

.input-form-td-break, .PhorumAdminTitle a
{
    color: white;
}

.input-form-td-subbreak
{
    background-color: #CCCCDA;
    color: black;
}

.PhorumAdminBreadcrumbs
{
    background-color: #CCCCDA;
    border: 1px solid Navy;
    color: black;
    font-size: 14px;
    padding: 5px;
}

.input-form-td-message
{
    font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif;
    font-size: 13px;
    padding: 10px;
    background-color: White;
    color: Black;
}

.PhorumAdminMenu
{
    width: 160px;
    border: 1px solid Navy;
    font-size: 13px;
    margin-bottom: 3px;
    line-height: 18px;
    padding: 3px;
}

.PhorumAdminMenuTitle
{
    width: 160px;
    border: 1px solid Navy;
    background-color: Navy;
    color:  white;
    font-size: 14px;
    font-weight: bold;
    padding: 3px;
}

.PhorumAdminTableRow
{
    background-color: #EEEEFA;
    color: Navy;
    padding: 3px;
    font-size: 13px;
}

.PhorumAdminTableRowAlt
{
    background-color: #d6d6e0;
    color: Navy;
    padding: 3px;
    font-size: 13px;
}

.forum-title {
    width: 100%;
    font-weight: normal;
}

.PhorumAdminTableRow p.forum-description {
    padding: 0px;
    margin: 3px 0px 0px 20px;
}

.icon-folder-up {
    width: 22px;
    padding-left: 22px;
    background: url(**path**/images/folder_up.png) 0 1px no-repeat;
}

.icon-folder {
    width: 22px;
    padding-left: 22px;
    background: url(**path**/images/folder.png) 0 1px no-repeat;
}

.icon-forum {
    width: 22px;
    padding-left: 22px;
    background: url(**path**/images/forum.png) 0 1px no-repeat;
}

.PhorumAdminTableHead
{
    background-color: Navy;
    color: White;
    padding: 3px;
    font-weight: bold;
    font-size: 13px;
}

.PhorumInfoMessage
{
    font-family: Lucida Sans Unicode, Lucida Grand, Verdana, Arial, Helvetica;
    font-size: 13px;
    padding: 3px;
    background-color: #EEEEFA;
    width: 300px;
    text-align: left;
}

.PhorumAdminError
{
    background-image: url("./images/alert.gif");
    background-position: 5px 5px;
    background-repeat: no-repeat;
    font-family: Lucida Sans Unicode, Lucida Grand, Verdana, Arial, Helvetica;
    font-size: 15px;
    padding: 12px 12px 12px 50px;
    color: #000000;
    border: 2px solid red;
    margin-bottom: 3px;
}

.PhorumAdminOkMsg
{
    font-family: Lucida Sans Unicode, Lucida Grand, Verdana, Arial, Helvetica;
    font-size: 15px;
    padding: 12px;
    color: #000000;
    border: 2px solid darkgreen;
    margin-bottom: 3px;
}

.small
{
    margin-bottom: 3px;
    font-size: 10px;
}

.help-td, .help-td a
{
    color: White;
    padding-bottom: 2px;
    text-decoration: none;
}

#phorum-status
{
    vertical-align: middle;
}

#status-form
{
    display: inline;
}

img.question
{
    padding: 0 5px 1px 5px;
    vertical-align: middle;
}

#helpdiv
{
    position: absolute;
    display: none;
    width: 400px;
    border: 2px solid Navy;
}

#helpdiv-hide
{
    float: right;
}

#helpdiv-title
{
    color: White;
    background-color: Navy;
    padding: 1px 1px 3px 1px;
}

#helpdiv-content
{
    background-color: White;
    height: 200px;
    padding: 8px;
    font-family: Lucida Sans Unicode, Lucida Grand, Verdana, Arial, Helvetica;
    font-size: 13px;
    overflow: scroll;
}

#help-title
{
    font-weight: bold;
    margin-bottom: 3px;
}

.message_prune_filtertable {
    width: 96%;
    margin-bottom: 5px;
    border-collapse: collapse;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
}

.message_prune_msginfo {
    margin: 0px 0px 10px 20px;
    padding: 5px;
    border: 1px solid #ccc;
    background-color: #f0f0f0;
    font-size: 11px;
    display: none;
}

.message_prune_msginfo_body {
    max-height: 100px;
    padding: 5px;
    overflow: auto;
    background-color: white;
    border: 1px inset #ccc;
}

</style>
<script>

function show_help(key)
{
    if (document.all) {
        topoffset=document.body.scrollTop;
        leftoffset=document.body.scrollLeft;
        WIDTH=document.body.clientWidth;
        HEIGHT=document.body.clientHeight;
    } else {
        topoffset=pageYOffset;
        leftoffset=pageXOffset;
        WIDTH=window.innerWidth;
        HEIGHT=window.innerHeight;
    }

    if(WIDTH%2!=0) WIDTH--;
    if(HEIGHT%2!=0) HEIGHT--;

    newtop=((HEIGHT-200)/2)+topoffset;

    // IE still puts selects on top of stuff so it has to be fixed to the left some
    if (document.all) {
        newleft=150;
    } else {
        newleft=((WIDTH-400)/2)+leftoffset;
    }

    document.getElementById('helpdiv').style.left=newleft;
    document.getElementById('helpdiv').style.top=newtop;

    document.getElementById('help-title').innerHTML = help[key][0];
    document.getElementById('help-text').innerHTML = help[key][1];

    document.getElementById('helpdiv').style.display = 'block';

}

function hide_help()
{
    document.getElementById('helpdiv').style.display = 'none';
    document.getElementById('help-title').innerHTML = "";
    document.getElementById('help-text').innerHTML = "";
}

</script>
</head>
<body>
<div id="helpdiv">
<div id="helpdiv-hide"><a href="javascript:hide_help();"><img border="0" src="**path**/images/close.gif" height="16" width="16" /></a></div>
<div id="helpdiv-title">&nbsp;Phorum Admin Help</div>
<div id="helpdiv-content">
<div id="help-title"></div>
<div id="help-text"></div>
</div>
</div>

<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
    <td style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: Navy;">Phorum Admin<small><br />version 5.2.7</small></td>
    <td style="border-bottom: 1px solid navy" align="center" valign="middle">
    </td>
    <td style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: Navy;" align="right">

    <div id="phorum-status">
<form id="status-form" action="**path**/admin.php" method="post">
<input type="hidden" name="module" value="status" />
Phorum Status:
<select name="status" onChange="this.form.submit();">
<option value="normal" selected>Normal</option>
<option value="read-only">Read Only</option>
<option value="admin-only">Admin Only</option>
<option value="disabled">Disabled</option>
</select>
</form>
</div>
<small>Logged In As root</small>
</td>
</tr>
</table><br />
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
    <td valign="top">
<div class="PhorumAdminMenuTitle">Main Menu</div>
<div class="PhorumAdminMenu"><a title="Takes you to the default Admin page." href="/EABforum/admin.php">Admin Home</a><br /><a title="Takes you to the front page of the Phorum." href="/EABforum/admin.php?module=index">Phorum Index</a><br /><a title="Logs you out of the admin." href="/EABforum/admin.php?module=logout">Log Out</a><br /></div>
<div class="PhorumAdminMenuTitle">Global Settings</div>
<div class="PhorumAdminMenu"><a title="Edit the global settings which affect the enter installation." href="/EABforum/admin.php?module=settings">General Settings</a><br /><a title="Edit the cache settings, like which cache layer to use and what to cache." href="/EABforum/admin.php?module=cache">Cache Settings</a><br /><a title="Edits the list of banned names, email addresses and IP addresses." href="/EABforum/admin.php?module=banlist">Ban Lists</a><br /><a title="Edit the list of words that are censored in posts." href="/EABforum/admin.php?module=badwords">Censor List</a><br /><a title="Administer the Phorum Modules that are installed." href="/EABforum/admin.php?module=mods">Modules</a><br /></div>
<div class="PhorumAdminMenuTitle">Forums</div>
<div class="PhorumAdminMenu"><a title="Takes you to the default Admin page." href="/EABforum/admin.php">Manage Forums</a><br /><a title="Allows you to set defaults settings that can be inherited by forums." href="/EABforum/admin.php?module=forum_defaults">Default Settings</a><br /><a title="Creates a new area for your users to post messages." href="/EABforum/admin.php?module=newforum">Create Forum</a><br /><a title="Creates a folder which can contain other folders of forums." href="/EABforum/admin.php?module=newfolder">Create Folder</a><br /></div>
<div class="PhorumAdminMenuTitle">Users/Groups</div>
<div class="PhorumAdminMenu"><a title="Allows administrator to edit users including deactivating them." href="/EABforum/admin.php?module=users">Edit Users</a><br /><a title="Allows administrator to edit groups and their forum permissions." href="/EABforum/admin.php?module=groups">Edit Groups</a><br /><a title="Allows administrator to add fields to Phorum profile." href="/EABforum/admin.php?module=customprofile">Custom Profiles</a><br /></div>
<div class="PhorumAdminMenuTitle">Maintenance</div>
<div class="PhorumAdminMenu"><a title="Check for new releases." href="/EABforum/admin.php?module=version">Check For New Version</a><br /><a title="Database Integrity Actions" href="/EABforum/admin.php?module=rebuild">Database Integrity</a><br /><a title="Pruning old messages." href="/EABforum/admin.php?module=message_prune">Prune Messages</a><br /><a title="Purging stale files from the database." href="/EABforum/admin.php?module=file_purge">Purge Stale Files</a><br /><a title="Purging the Phorum cache." href="/EABforum/admin.php?module=cache_purge">Purge cache</a><br /><a title="Perform a number of sanity checks on the system to identify possible problems." href="/EABforum/admin.php?module=sanity_checks">System Sanity Checks</a><br /><a title="Allows administrator to create new or updated versions of language files." href="/EABforum/admin.php?module=manage_languages">Manage Language Files</a><br /></div>
<img src="**path**/images/trans.gif" alt="" border="0" width="150" height="1" />
    </td>
    <td valign="top"><img src="**path**/images/trans.gif" alt="" border="0" width="15" height="15" /></td>
    <td valign="top" width="100%">

And here is the source from Firefox:

<html>
<head>
<title>Phorum Admin</title>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<style type="text/css">

body
{
    font-family: Lucida Sans Unicode, Lucida Grand, Verdana, Arial, Helvetica;
    font-size: 13px;
}

input, textarea, select, td
{
    font-family: Lucida Sans Unicode, Lucida Grand, Verdana, Arial, Helvetica;
    font-size: 13px;
    border-color: #EEEEEE;
}

.input-form-th
{
    font-family: Lucida Sans Unicode, Lucida Grand, Verdana, Arial, Helvetica;
    font-size: 13px;
    padding: 3px;
    background-color: #DDDDEA;
}

.input-form-td
{
    font-family: Lucida Sans Unicode, Lucida Grand, Verdana, Arial, Helvetica;
    font-size: 13px;
    padding: 3px;
    background-color: #EEEEFA;
}

.input-form-td-break, .PhorumAdminTitle
{
    font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: bold;
    padding: 3px;
    background-color: Navy;
    color: White;
}

.input-form-td-break, .PhorumAdminTitle a
{
    color: white;
}

.input-form-td-subbreak
{
    background-color: #CCCCDA;
    color: black;
}

.PhorumAdminBreadcrumbs
{
    background-color: #CCCCDA;
    border: 1px solid Navy;
    color: black;
    font-size: 14px;
    padding: 5px;
}

.input-form-td-message
{
    font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif;
    font-size: 13px;
    padding: 10px;
    background-color: White;
    color: Black;
}

.PhorumAdminMenu
{
    width: 160px;
    border: 1px solid Navy;
    font-size: 13px;
    margin-bottom: 3px;
    line-height: 18px;
    padding: 3px;
}

.PhorumAdminMenuTitle
{
    width: 160px;
    border: 1px solid Navy;
    background-color: Navy;
    color:  white;
    font-size: 14px;
    font-weight: bold;
    padding: 3px;
}

.PhorumAdminTableRow
{
    background-color: #EEEEFA;
    color: Navy;
    padding: 3px;
    font-size: 13px;
}

.PhorumAdminTableRowAlt
{
    background-color: #d6d6e0;
    color: Navy;
    padding: 3px;
    font-size: 13px;
}

.forum-title {
    width: 100%;
    font-weight: normal;
}

.PhorumAdminTableRow p.forum-description {
    padding: 0px;
    margin: 3px 0px 0px 20px;
}

.icon-folder-up {
    width: 22px;
    padding-left: 22px;
    background: url(**path**/images/folder_up.png) 0 1px no-repeat;
}

.icon-folder {
    width: 22px;
    padding-left: 22px;
    background: url(**path**/images/folder.png) 0 1px no-repeat;
}

.icon-forum {
    width: 22px;
    padding-left: 22px;
    background: url(**path**/images/forum.png) 0 1px no-repeat;
}

.PhorumAdminTableHead
{
    background-color: Navy;
    color: White;
    padding: 3px;
    font-weight: bold;
    font-size: 13px;
}

.PhorumInfoMessage
{
    font-family: Lucida Sans Unicode, Lucida Grand, Verdana, Arial, Helvetica;
    font-size: 13px;
    padding: 3px;
    background-color: #EEEEFA;
    width: 300px;
    text-align: left;
}

.PhorumAdminError
{
    background-image: url("./images/alert.gif");
    background-position: 5px 5px;
    background-repeat: no-repeat;
    font-family: Lucida Sans Unicode, Lucida Grand, Verdana, Arial, Helvetica;
    font-size: 15px;
    padding: 12px 12px 12px 50px;
    color: #000000;
    border: 2px solid red;
    margin-bottom: 3px;
}

.PhorumAdminOkMsg
{
    font-family: Lucida Sans Unicode, Lucida Grand, Verdana, Arial, Helvetica;
    font-size: 15px;
    padding: 12px;
    color: #000000;
    border: 2px solid darkgreen;
    margin-bottom: 3px;
}

.small
{
    margin-bottom: 3px;
    font-size: 10px;
}

.help-td, .help-td a
{
    color: White;
    padding-bottom: 2px;
    text-decoration: none;
}

#phorum-status
{
    vertical-align: middle;
}

#status-form
{
    display: inline;
}

img.question
{
    padding: 0 5px 1px 5px;
    vertical-align: middle;
}

#helpdiv
{
    position: absolute;
    display: none;
    width: 400px;
    border: 2px solid Navy;
}

#helpdiv-hide
{
    float: right;
}

#helpdiv-title
{
    color: White;
    background-color: Navy;
    padding: 1px 1px 3px 1px;
}

#helpdiv-content
{
    background-color: White;
    height: 200px;
    padding: 8px;
    font-family: Lucida Sans Unicode, Lucida Grand, Verdana, Arial, Helvetica;
    font-size: 13px;
    overflow: scroll;
}

#help-title
{
    font-weight: bold;
    margin-bottom: 3px;
}

.message_prune_filtertable {
    width: 96%;
    margin-bottom: 5px;
    border-collapse: collapse;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
}

.message_prune_msginfo {
    margin: 0px 0px 10px 20px;
    padding: 5px;
    border: 1px solid #ccc;
    background-color: #f0f0f0;
    font-size: 11px;
    display: none;
}

.message_prune_msginfo_body {
    max-height: 100px;
    padding: 5px;
    overflow: auto;
    background-color: white;
    border: 1px inset #ccc;
}

</style>
<script>

function show_help(key)
{
    if (document.all) {
        topoffset=document.body.scrollTop;
        leftoffset=document.body.scrollLeft;
        WIDTH=document.body.clientWidth;
        HEIGHT=document.body.clientHeight;
    } else {
        topoffset=pageYOffset;
        leftoffset=pageXOffset;
        WIDTH=window.innerWidth;
        HEIGHT=window.innerHeight;
    }

    if(WIDTH%2!=0) WIDTH--;
    if(HEIGHT%2!=0) HEIGHT--;

    newtop=((HEIGHT-200)/2)+topoffset;

    // IE still puts selects on top of stuff so it has to be fixed to the left some
    if (document.all) {
        newleft=150;
    } else {
        newleft=((WIDTH-400)/2)+leftoffset;
    }

    document.getElementById('helpdiv').style.left=newleft;
    document.getElementById('helpdiv').style.top=newtop;

    document.getElementById('help-title').innerHTML = help[key][0];
    document.getElementById('help-text').innerHTML = help[key][1];

    document.getElementById('helpdiv').style.display = 'block';

}

function hide_help()
{
    document.getElementById('helpdiv').style.display = 'none';
    document.getElementById('help-title').innerHTML = "";
    document.getElementById('help-text').innerHTML = "";
}

</script>
</head>
<body>
<div id="helpdiv">
<div id="helpdiv-hide"><a href="javascript:hide_help();"><img border="0" src="**path**/images/close.gif" height="16" width="16" /></a></div>
<div id="helpdiv-title">&nbsp;Phorum Admin Help</div>
<div id="helpdiv-content">
<div id="help-title"></div>

<div id="help-text"></div>
</div>
</div>

<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
    <td style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: Navy;">Phorum Admin<small><br />version 5.2.7</small></td>
    <td style="border-bottom: 1px solid navy" align="center" valign="middle">
    </td>
    <td style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: Navy;" align="right">

    <div id="phorum-status">
<form id="status-form" action="**path**/admin.php" method="post">
<input type="hidden" name="module" value="status" />
Phorum Status:
<select name="status" onChange="this.form.submit();">
<option value="normal" selected>Normal</option>
<option value="read-only">Read Only</option>
<option value="admin-only">Admin Only</option>
<option value="disabled">Disabled</option>
</select>
</form>
</div>

<small>Logged In As root</small>
</td>
</tr>
</table><br />
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
    <td valign="top">
<div class="PhorumAdminMenuTitle">Main Menu</div>
<div class="PhorumAdminMenu"><a title="Takes you to the default Admin page." href="/EABforum/admin.php">Admin Home</a><br /><a title="Takes you to the front page of the Phorum." href="/EABforum/admin.php?module=index">Phorum Index</a><br /><a title="Logs you out of the admin." href="/EABforum/admin.php?module=logout">Log Out</a><br /></div>
<div class="PhorumAdminMenuTitle">Global Settings</div>

<div class="PhorumAdminMenu"><a title="Edit the global settings which affect the enter installation." href="/EABforum/admin.php?module=settings">General Settings</a><br /><a title="Edit the cache settings, like which cache layer to use and what to cache." href="/EABforum/admin.php?module=cache">Cache Settings</a><br /><a title="Edits the list of banned names, email addresses and IP addresses." href="/EABforum/admin.php?module=banlist">Ban Lists</a><br /><a title="Edit the list of words that are censored in posts." href="/EABforum/admin.php?module=badwords">Censor List</a><br /><a title="Administer the Phorum Modules that are installed." href="/EABforum/admin.php?module=mods">Modules</a><br /></div>
<div class="PhorumAdminMenuTitle">Forums</div>
<div class="PhorumAdminMenu"><a title="Takes you to the default Admin page." href="/EABforum/admin.php">Manage Forums</a><br /><a title="Allows you to set defaults settings that can be inherited by forums." href="/EABforum/admin.php?module=forum_defaults">Default Settings</a><br /><a title="Creates a new area for your users to post messages." href="/EABforum/admin.php?module=newforum">Create Forum</a><br /><a title="Creates a folder which can contain other folders of forums." href="/EABforum/admin.php?module=newfolder">Create Folder</a><br /></div>
<div class="PhorumAdminMenuTitle">Users/Groups</div>
<div class="PhorumAdminMenu"><a title="Allows administrator to edit users including deactivating them." href="/EABforum/admin.php?module=users">Edit Users</a><br /><a title="Allows administrator to edit groups and their forum permissions." href="/EABforum/admin.php?module=groups">Edit Groups</a><br /><a title="Allows administrator to add fields to Phorum profile." href="/EABforum/admin.php?module=customprofile">Custom Profiles</a><br /></div>

<div class="PhorumAdminMenuTitle">Maintenance</div>
<div class="PhorumAdminMenu"><a title="Check for new releases." href="/EABforum/admin.php?module=version">Check For New Version</a><br /><a title="Database Integrity Actions" href="/EABforum/admin.php?module=rebuild">Database Integrity</a><br /><a title="Pruning old messages." href="/EABforum/admin.php?module=message_prune">Prune Messages</a><br /><a title="Purging stale files from the database." href="/EABforum/admin.php?module=file_purge">Purge Stale Files</a><br /><a title="Purging the Phorum cache." href="/EABforum/admin.php?module=cache_purge">Purge cache</a><br /><a title="Perform a number of sanity checks on the system to identify possible problems." href="/EABforum/admin.php?module=sanity_checks">System Sanity Checks</a><br /><a title="Allows administrator to create new or updated versions of language files." href="/EABforum/admin.php?module=manage_languages">Manage Language Files</a><br /></div>
<img src="**path**/images/trans.gif" alt="" border="0" width="150" height="1" />
    </td>
    <td valign="top"><img src="**path**/images/trans.gif" alt="" border="0" width="15" height="15" /></td>
    <td valign="top" width="100%">

Re: Module: Easy Color Scheme Manager
May 09, 2008 07:55PM
The errors are definitely helpful. It would seem that your server is not configured to allow php to create png files. Do you have the ability to change that or are you on a hosting system?

EDIT: I have also uploaded a new version of the settings file which will check for that function. This should at least allow you to manage color schemes minus the background images.

EDIT_2: File deleted due to inclusion in v5.2.1.05


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald




Edited 2 time(s). Last edit at 05/15/2008 05:32AM by Azumandias.
Re: Module: Easy Color Scheme Manager
May 09, 2008 08:04PM
The server is not hosted, and I have free reign on it - still in "testing" status. What do I need to do?
Re: Module: Easy Color Scheme Manager
May 09, 2008 08:10PM
I'm going to have to bow to the wisdom of the phorum devs on this one. I have no idea how to configure a php server. Sorry.


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Re: Module: Easy Color Scheme Manager
May 09, 2008 08:11PM
You are correct, sir! That last settings.php definitely woke some stuff up. I will mess around with this and see what I can do with it. If you have advice on how to fix the can't-create-png-files thing, please let me know. You've probably figured out by now that I'm a total noob with this Phorum/PHP stuff, so any advice is welcome.

Awesome support, everyone - you guys rock!
Re: Module: Easy Color Scheme Manager
May 09, 2008 08:15PM
Quote

Call to undefined function imagecreatefrompng()

That tells you that PHP does not have GD support or no GD support with PNG support enabled. If you're using a package manager on your server, then check for a package like "php-gd", "php5-gd" or something alike and install it. Then check your php.ini. There might be a line in there to uncomment or add for GD support (e.g. "extention=gd.so"). Also refer to your system's documentation to find info about enabling GD for PHP.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: Easy Color Scheme Manager
May 09, 2008 08:31PM
I'll say it again - you guys are awesome. I now have the original Easy Color Scheme module files in place, and it's working. Maurice hit the nail on the head - it was the GD support (no pun intended). Here's what I did:

Went into Yast Control Center, Software Management, searched for "php", which listed all of the available php-associated packages. Sure enough, there was "php5-gd", and it was NOT installed. Checked it, let it install, then restarted Apache. Viola - pretty colors appeared!

Great package - great forum!
Sorry, only registered users may post in this forum.

Click here to login