Giter Site home page Giter Site logo

WSOD on new client create submit about zpanelx HOT 10 OPEN

zpanel avatar zpanel commented on August 22, 2024
WSOD on new client create submit

from zpanelx.

Comments (10)

danclarkau avatar danclarkau commented on August 22, 2024

yeh I get that too..

from zpanelx.

Caffe1neAdd1ct avatar Caffe1neAdd1ct commented on August 22, 2024

This one reminds me of a bug quite a while back... looks like we have a regression..

from zpanelx.

Caffe1neAdd1ct avatar Caffe1neAdd1ct commented on August 22, 2024

Only seems to happen when the email user tickbox is selected.

from zpanelx.

Caffe1neAdd1ct avatar Caffe1neAdd1ct commented on August 22, 2024

[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.

danclarkau avatar danclarkau commented on August 22, 2024

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.

TGates71 avatar TGates71 commented on August 22, 2024

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.

Caffe1neAdd1ct avatar Caffe1neAdd1ct commented on August 22, 2024

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.

Caffe1neAdd1ct avatar Caffe1neAdd1ct commented on August 22, 2024

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.

Caffe1neAdd1ct avatar Caffe1neAdd1ct commented on August 22, 2024

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.

Caffe1neAdd1ct avatar Caffe1neAdd1ct commented on August 22, 2024

#239

from zpanelx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.