Skip to main content
Registration doesn't work Started by augras · · Read 307 times 0 Members and 1 Guest are viewing this topic. previous topic - next topic

Registration doesn't work

Hi,
Since one month registration doesn't work : each time there is this error Undefined array key "actual_theme_dir"

error message in the log :
     sdpl1pT0AcDqqDgN6KnVesiru5rQYFkC
    Type d'erreur: Non défini
    Warning: Undefined array key "actual_theme_dir"

    https://augras.eu/puppy_forum/index.php?action=PortalRefresh;sa=whos;api

    Fichier: /home2/augras/public_html/augras.eu/puppy_forum/sources/Load.php
    Ligne: 2543

This  line : $settings['actual_theme_dir'] . '/languages',
But nothing changed since a long time.

Merry christmas everybody,
Philippe
Last Edit: December 23, 2025, 11:22:59 am by augras

Re: Registration doesn't work

Reply #1

That error is due to SimplePortal (when its ajax refreshing the portal blocks), it should not be affecting registration.  What happens when someone trys to register?  Do they get an error screen or other?


Re: Registration doesn't work

Reply #3

I assume that is right after you submit your registration ... I'll take a look at the portal and see what is going on.  Which version of SP are you running?

Re: Registration doesn't work

Reply #4

It's 1.0.1.
It is chritmas : take this time to be quiet.
My small forum can wait.

Re: Registration doesn't work

Reply #5

Thanks ... I'll get to looking at this next week  :grin:

Re: Registration doesn't work

Reply #6

Hi @Spuds ,
Can you take a look now please ?
Philippe


Re: Registration doesn't work

Reply #8

Taking a quick look (I don't have your specific 1.1.9 + SP 1.1)  but lets try a stop gap measure while we continue to look.

In Load.php

Code: (find) [Select]
		// Default language directories to try.
$language_directories = array(
$settings['default_theme_dir'] . '/languages',
$settings['actual_theme_dir'] . '/languages',
);

Code: (replace) [Select]
		// Default language directories to try.
$language_directories = array(
$settings['default_theme_dir'] . '/languages',
(!empty($settings['actual_theme_dir']) ? $settings['actual_theme_dir'] : $settings['default_theme_dir']) . '/languages',
);

that should get by that error, but I'm really not sure why you are seeing that.  Be sure to check you theme settings in the admin panel just to make sure the directory entries look correct.

 

Re: Registration doesn't work

Reply #9

Hi @Spuds ,
As usual it works fine : thank you very much.
 :thumbsup:  :thumbsup:  :thumbsup:
I don't understand why this error came : it appears around 2 months before my post but nothing was made in the parameters.
Philippe

Re: Registration doesn't work

Reply #10

Glad that got you going again  :grin:

Re: Registration doesn't work

Reply #11

Quote from: augras –
I don't understand why this error came : it appears around 2 months before my post but nothing was made in the parameters.
Philippe

This type of thing is how I learn that my host's server was updated..   :huh:

"Incompatibility is just an upgrade away."

// Deep inside every dilemma lies a solution that involves explosives //