Comments (10)
yeh I get that too..
from zpanelx.
This one reminds me of a bug quite a while back... looks like we have a regression..
from zpanelx.
Only seems to happen when the email user tickbox is selected.
from zpanelx.
[Tue Jul 29 02:53:10 2014] [error] [client xx.xx.xx.xx] PHP Fatal error: Class 'ui_templateparser' not found in /etc/zpanel/panel/inc/init.inc.php on line 143, referer: http://xx.xx.xx.xx/?module=manage_clients
from zpanelx.
This is on a brand new installation on Ubuntu..
I created another user just now, the WSOD page URL is...
http://x.x.x.x/?module=manage_clients&action=CreateClient
I can't see anything in the logs?
Cheers
Dan
On Tue, Jul 29, 2014 at 12:53 PM, Kevin Andrews [email protected]
wrote:
[Tue Jul 29 02:53:10 2014] [error] [client xx.xx.xx.xx] PHP Fatal error:
Class 'ui_templateparser' not found in /etc/zpanel/panel/inc/init.inc.php
on line 143, referer: http://xx.xx.xx.xx/?module=manage_clients—
Reply to this email directly or view it on GitHub
#166 (comment).
Kind Regards
Dan Clark
43 Lord Street
Gladstone, QLD
Australia 4680
AU: +61 4 8719 5948
NZ: +64 3 974 8267
SKYPE: danclar
Google Talk: [email protected]
from zpanelx.
Confirmed, I created a new account on my windows machine, no email send, and works just fine. Only happens if send email is checked.
from zpanelx.
Its definitely failing on including a few files from dryden framework... if i manually add the files it doesn't parse the template correctly and i get a load of placeholders instead of text...
Must be a bug stopping the autoloading of required files after the post client create action...
from zpanelx.
Blimey that was a hard bug to find... had to fire up xdebug in the end.
The PHPMailerAutoload class (which is only included when sending emails is taking over the autoloading of classes!
We need to register our autoloader differently i think...
from zpanelx.
To fix we need to change:
function __autoload($class_name)
{
$path = 'dryden/' . str_replace('_', '/', $class_name) . '.class.php';
if (file_exists($path)) {
require_once $path;
}
}
to
function __autoload($class_name)
{
$path = 'dryden/' . str_replace('_', '/', $class_name) . '.class.php';
if (file_exists($path)) {
require_once $path;
}
}
spl_autoload_register('__autoload');
in dryden/loader.inc.php
from zpanelx.
from zpanelx.
Related Issues (20)
- Error in installing postfix. Not start postfix server HOT 7
- Zpanel on Ubuntu 14.04 already possible ? HOT 2
- Forum down? HOT 2
- named not receiving GUI updates for DNS
- modules.zpanelcp.com/repo is not working now?? HOT 6
- DNS .txt adding long txt records
- hotmail.com PHPMailer error HOT 1
- Import from other Control Panel systems HOT 1
- Ftp Auth - Invalid Password HOT 8
- Installation on Ubuntu is failed at mysql root password
- Freezes while installing zpanel HOT 1
- apache config reset HOT 1
- Zpanel account management HOT 1
- Security vulnerability reports HOT 1
- Postfix Database not correctly set up HOT 2
- Zpanel removed all mysql databases HOT 2
- Security: file inclusion issue HOT 3
- Zpanel on Ubuntu 16.04 possible ? HOT 1
- Where is ZPANEL? HOT 6
- ZPanel 10.1.1 allows XSS via the HTTP Host header to the etc/static/diskexceeded/index.php URI.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zpanelx.