× KISS International Help Forum. English language, please.

Popup form for uploading images is blank

Mehr
24 Mär 2010 18:55 #1073

Try to switch

; Safe Mode
;
safe_mode = Off

BR
Benno


Ich war auch mal blond!

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
24 Mär 2010 02:56 #1071

Thanks for your reply. I tried all, but no result...

One more point: the PHP version on the server is 5.2.6-1+lenny6.

Besides that, I am getting several more errors in the log (after clicking the link leading to the component.:

[24-bře-2010 00:50:49] PHP Notice: Undefined variable: currency in /var/www/vhosts/nl/b/brandys/www/components/com_ksadvertiser/ksadvertiser.php on line 474
[24-bře-2010 00:50:49] PHP Notice: Undefined variable: result in /var/www/vhosts/nl/b/brandys/www/components/com_ksadvertiser/ksadvertiser.html.php on line 1506
[24-bře-2010 00:50:49] PHP Notice: Trying to get property of non-object in /var/www/vhosts/nl/b/brandys/www/components/com_ksadvertiser/ksadvertiser.html.php on line 1506
[24-bře-2010 00:50:49] PHP Notice: Undefined variable: option in /var/www/vhosts/nl/b/brandys/www/components/com_ksadvertiser/ksadvertiser.php on line 948
[24-bře-2010 00:50:49] PHP Notice: Undefined variable: state in /var/www/vhosts/nl/b/brandys/www/components/com_ksadvertiser/ksadvertiser.html.php on line 1544
[24-bře-2010 00:50:49] PHP Notice: Undefined variable: gpublished in /var/www/vhosts/nl/b/brandys/www/components/com_ksadvertiser/ksadvertiser.html.php on line 1852
[24-bře-2010 00:50:49] PHP Notice: Undefined variable: state in /var/www/vhosts/nl/b/brandys/www/components/com_ksadvertiser/ksadvertiser.html.php on line 2100

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
23 Mär 2010 12:02 #1070

Check if you have an adblock component installed or your browser is blocking javascript popup windows.
If so, configure the browser / component to allow KISS Advertiser to show popup windows.
Another reason could be the access rights on your hoster\'s server.

If possible, configure your images/ksadvertiser directory and all subdirectories to have the rights 0750 or 0755.
Normally this is done automatically upon install, but some servers refuse this for security reasons.


Ob ein Glas halb voll oder halb leer ist, ist mir egal. Hauptsache meine Zähne passen rein.
No matter whether a glass is half full or half empty - as long as my teeth fit in.
Letzte Änderung: 23 Mär 2010 12:03 von Reservist. Grund: Readability

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
22 Mär 2010 16:13 #1065

Hello,
thanks for the tip. I asked my hosting provider to check the config prameters and the response was that PHP5 has all standard settings and that any restrictions are handled by virtual hosts. My custom settings are below. Please suggest which one of them is causing the malfunction, as my communication with the provider is kind of comlicated (and I am a noob).
BTW: My localhost settings are Safe_mode Off, disable_functions No value and session.use_only_cookies Off. Basically, which particular functions can be disabled?
Thanks!
Martin

<IfModule mod_php5.c>

php_admin_flag engine On
php_admin_flag register_globals Off

php_admin_value open_basedir /var/www/vhosts/nl/b/brandys/:/var/www/vhosts/nl/b/brandys/www/:/var/www/vhosts/nl/b/brandys/www/plugins/:/var/www/vhosts/nl/b/brandys/www/logs/:/var/www/vhosts/nl/b/brandys/www/tmp/
php_admin_value safe_mode On
php_admin_value disable_functions system,exec,passthru,proc_open,popen,shell_exec,readlink,symlink,link,pfsockopen,ini_alter,ini_set,dl,openlog,syslog,putenv,pcntl_exec,pcntl_fork,pcntl_signal,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,socket_accept,socket_bind,socket_create,socket_create_listen,socket_listen,socket_create_pair,glob
php_admin_value upload_tmp_dir /var/www/vhosts/nl/b/brandys/tmp/

php_value session.save_path /var/www/vhosts/nl/b/brandys/tmp/
php_value sendmail_from Diese E-Mail-Adresse ist vor Spambots geschützt! Zur Anzeige muss JavaScript eingeschaltet sein!
php_value session.name BRANDYS-NL
php_value error_log /var/log/apache2/vhosts/brandys.nl/php5.err

php_flag session.use_only_cookies on

</IfModule>

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
19 Mär 2010 16:57 #1050

This error probably occurs due to your hoster\'s php restrictions in the php.ini. Just compare your localhost\'s php.ini with your hoster\'s php.ini to have a look at the differences. Ask your hoster if it is possible to make some changes to the php settings.


Ob ein Glas halb voll oder halb leer ist, ist mir egal. Hauptsache meine Zähne passen rein.
No matter whether a glass is half full or half empty - as long as my teeth fit in.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
18 Mär 2010 23:58 #1047

Hi,
When I click on the link \"upload image\" within the \"place ad\" form, the overlay frame opens, but it remains empty. The log shows the following errors:

[18-bře-2010 09:38:38] PHP Notice: Undefined variable: mosConfig_debug in /var/www/vhosts/nl/b/brandys/www/components/com_ksadvertiser/imgselector.php on line 103
[18-bře-2010 09:38:38] PHP Warning: Invalid argument supplied for foreach() in /var/www/vhosts/nl/b/brandys/www/components/com_ksadvertiser/imgselector.php on line 403
[18-bře-2010 09:38:38] PHP Notice: Undefined variable: picture in /var/www/vhosts/nl/b/brandys/www/components/com_ksadvertiser/imgselector.php on line 410

This is from my hosting provider\'s log. When I run it on my computer (Win7 64bit + XAMPP lite) it works fine.

Also, when I try to open the link separately:
bnl.safemedia.cz/components/com_ksadvert...sts/nl/b/brandys/www
...a blank page is open.
It does not happen on the localhost...
Thanks for the help!

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Powered by Kunena Forum