Posts: 111
Threads: 14
Joined: Jan 2010
2010-01-20, 16:55:42
(This post was last modified: 2010-01-20, 17:04:34 by martynas.barzda.)
Upon installation, it sends me to the login page with no password. I mean I know I can look for it manually however, it doesn't sign me in or anything. Unless it sends it to my email.. Which would be annoying as I am on localhost testing with no email functionality. - Password was sha1'd and I had to set the login function to if it was false i'd be logged in so I could change it.
Upon file inspections: common.php serves no useful functionality. seriously?
Common file is supposed to be the -BASE- of the entire script.
You include files, set parameters so those files know instantly with ONE line not changing multiple files for that one line, ect.
I'll recode it to work like I want it to if I must ~
Posts: 111
Threads: 14
Joined: Jan 2010
2010-01-20, 17:11:54
(This post was last modified: 2010-01-20, 17:16:45 by martynas.barzda.)
Deleting components does not work. For me at least
Fix by editing: admin/components.php
Line: 81
Change:
Code:
$table .= '<a href="#" title="'.$i18n['DELETE_COMPONENT'].': '. cl(@$component->title).'?" id="del-'.$count.'" >X</a></td></tr></table>';
To:
Code:
$table .= '<a href="#" title="'.$i18n['DELETE_COMPONENT'].': '. cl(@$component->title).'?" id="del-'.$count.'" onClick="DeleteComp(\''.$count.'\'); return false;" >X</a></td></tr></table>';
Posts: 111
Threads: 14
Joined: Jan 2010
2010-01-20, 17:40:50
(This post was last modified: 2010-01-20, 17:44:11 by martynas.barzda.)
Component page additions:
Preview:
Quote:
List
Open: admin/component.php,
admin/template/style.css
In: component.php
After:
Insert:
Code:
// Create list for easy access
if($count > 3)
{
$list = "";
$item = 0;
foreach($componentsec as $component)
{
$list .= '<a href="#section-' . @$item . '" class="component">' . @$component->title . '</a>';
$item++;
}
}
After:
Code:
<form class="manyinputs" action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post" accept-charset="utf-8" >
Insert:
Code:
<div id="divCmpLst"><?php echo $list; ?></div>
<br clear="both" />
Inside: style.css
At the bottom add:
Code:
.wrapper a.component { float: right; font-weight:800; padding:3px 10px; text-decoration:none; border-radius: 3px; -moz-border-radius: 3px; -khtml-border-radius: 3px; -webkit-border-radius: 3px; }
.wrapper a.component { margin-left: 13px; margin-bottom: 5px; color:#AFC5CF; background:#182227; text-decoration: none; border-bottom: 0px solid #fff; }
.wrapper a.component:hover { color:#FFF; background:#0E1316; }
.wrapper #divCmpLst { width: 60%; float: right; }
Easier Saving addon
Inside: components.php
After:
Code:
<div id="divCmpLst"><?php echo $list; ?></div>
If you didn't add-on the previous feature insert it after:
Code:
<form class="manyinputs" action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post" accept-charset="utf-8" >
Insert:
Code:
<p><input type="submit" class="submit" name="submitted" id="button" value="<?php echo $i18n['SAVE_COMPONENTS'];?>" /> <?php echo $i18n['OR']; ?> <a class="cancel" href="theme.php"><?php echo $i18n['CANCEL']; ?></a></p>
Posts: 91
Threads: 2
Joined: Aug 2009
2010-01-21, 00:14:45
(This post was last modified: 2010-01-21, 00:29:55 by drunkenmoe.)
When saving components appears:
Code:
Notice: Uninitialized string offset: 1 in Z:\home\get\www\admin\components.php on line 41
Notice: Uninitialized string offset: 2 in Z:\home\get\www\admin\components.php on line 41
Warning: Cannot modify header information - headers already sent by (output started at Z:\home\get\www\admin\components.php:41) in Z:\home\get\www\admin\components.php on line 64
In backups when I click "Create New Archive Now" appears:
Code:
Strict Standards: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '1.0/no DST' instead in Z:\home\get\www\zip.php on line 46
Notice: Undefined variable: crc in Z:\home\get\www\admin\inc\zip.class.php on line 63
Notice: Undefined variable: c_len in Z:\home\get\www\admin\inc\zip.class.php on line 64
Notice: Undefined variable: unc_len in Z:\home\get\www\admin\inc\zip.class.php on line 65
Warning: Cannot modify header information - headers already sent by (output started at Z:\home\get\www\zip.php:46) in Z:\home\get\www\zip.php on line 74
Posts: 1,108
Threads: 70
Joined: Aug 2009
Have you got debugging on ?
I think the debug plugin is included in this release. Turn off debugging if it is.
M
Posts: 91
Threads: 2
Joined: Aug 2009
n00dles101 Wrote:Have you got debugging on ?
I think the debug plugin is included in this release. Turn off debugging if it is.
Yep, you are right.
Posts: 111
Threads: 14
Joined: Jan 2010
Yep its debugging plugins fault.