
Hoffy
Kezdő
|
Köszi szépen ez nem az ezek szerint ami nekem megfelel. Köszi a segítséget.
Hoffy
|

RimElek
VIP
|
Nem csoda, hogy nem megy. Letöltöttem a programot én is. A gbconfig.php-ben rossz sorrendben vannak a változók. Cseréld fel a
$cfgGBURI és $cfgSiteIndex változók sorait. Erről:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# NEW #
# Full URL to YapGB index file
# IMPORTANT: Make sure this URL is correct!
# For example:
# - If YapGB is located in guestbook/ directory of your web space, you
# can set $cfgGBURI using $cfgGBIndex and $cfgSiteIndex variables:
# $cfgGBURI = "$cfgSiteIndex/guestbook/yapgb.php";
# or just type in the URL:
# $cfgGBURI = "http://yoursite.com/guestbook/yapgb.php";
$cfgGBURI = "$cfgSiteIndex/$cfgGBIndex";
# Your site's URL
# Used by the "back to site" link
$cfgSiteIndex = "http://yapgb.sourceforge.net/"; |
Erre:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# Your site's URL
# Used by the "back to site" link
$cfgSiteIndex = "http://yapgb.sourceforge.net/";
# NEW #
# Full URL to YapGB index file
# IMPORTANT: Make sure this URL is correct!
# For example:
# - If YapGB is located in guestbook/ directory of your web space, you
# can set $cfgGBURI using $cfgGBIndex and $cfgSiteIndex variables:
# $cfgGBURI = "$cfgSiteIndex/guestbook/yapgb.php";
# or just type in the URL:
# $cfgGBURI = "http://yoursite.com/guestbook/yapgb.php";
$cfgGBURI = "$cfgSiteIndex/$cfgGBIndex"; |
Erre a hibára utalt a lognak a következő sora:
1
| [Sat Apr 06 16:41:45 2013] [error] [client 81.183.69.234] PHP Notice: Undefined variable: cfgSiteIndex in /home/fs_local/x003568/web/qrcodefashion.info/yapgb/gbconfig.php on line 129, referer: http://qrcodefashion.info/yapgb/yapgb.php?action=sign |
Ezen kívül is van hibája. Nem talál bizonyos változókat. Megnéztem. Nem is léteznek. De ettől még működhet majd a vendégkönyv. Ha nem, javaslom, keress másikat.
Utoljára szerkesztette: RimElek 2013.04.07. 10:28
|

Hoffy
Kezdő
|
Köszi szépen.
Megnéztem a php-t itt mellékelem. Nekem ez nem egyértelmű.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
GD Support enabled
GD Version 2.0
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.4.8
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPEG Support enabled
libJPEG Version unknown
PNG Support enabled
libPNG Version 1.2.46
WBMP Support enabled
Directive Local Value Master Value
gd.jpeg_ignore_warning 0 0
|
valamint a log File:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
| Apache error log last 25 lines:
[Sat Apr 06 16:41:45 2013] [error] [client 81.183.69.234] PHP Notice: Undefined variable: uriLink in /home/fs_local/x003568/web/qrcodefashion.info/yapgb/gbfunc.php on line 394, referer: http://qrcodefashion.info/yapgb/yapgb.php
[Sat Apr 06 16:41:45 2013] [error] [client 81.183.69.234] PHP Notice: A session had already been started - ignoring session_start() in /home/fs_local/x003568/web/qrcodefashion.info/yapgb/gbfunc.php on line 436, referer: http://qrcodefashion.info/yapgb/yapgb.php
[Sat Apr 06 16:41:45 2013] [error] [client 81.183.69.234] PHP Notice: Use of undefined constant gd_info - assumed 'gd_info' in /home/fs_local/x003568/web/qrcodefashion.info/yapgb/gbfunc.php on line 452, referer: http://qrcodefashion.info/yapgb/yapgb.php
[Sat Apr 06 16:41:45 2013] [error] [client 81.183.69.234] PHP Notice: Undefined variable: cfgSiteIndex in /home/fs_local/x003568/web/qrcodefashion.info/yapgb/gbconfig.php on line 129, referer: http://qrcodefashion.info/yapgb/yapgb.php?action=sign
[Sat Apr 06 16:41:45 2013] [error] [client 81.183.69.234] PHP Notice: Use of undefined constant gd_info - assumed 'gd_info' in /home/fs_local/x003568/web/qrcodefashion.info/yapgb/gbfunc.php on line 766, referer: http://qrcodefashion.info/yapgb/yapgb.php?action=sign
[Sat Apr 06 16:42:17 2013] [error] [client 81.183.69.234] PHP Notice: Undefined variable: cfgSiteIndex in /home/fs_local/x003568/web/qrcodefashion.info/yapgb/gbconfig.php on line 129, referer: http://qrcodefashion.info/yapgb/yapgb.php?action=sign
[Sat Apr 06 16:42:36 2013] [error] [client 81.183.69.234] PHP Notice: Undefined variable: cfgSiteIndex in /home/fs_local/x003568/web/qrcodefashion.info/yapgb/gbconfig.php on line 129, referer: http://qrcodefashion.info/yapgb/yapgb.php?action=sign
[Sat Apr 06 16:42:36 2013] [error] [client 81.183.69.234] PHP Notice: Undefined variable: action in /home/fs_local/x003568/web/qrcodefashion.info/yapgb/yapgb.php on line 129, referer: http://qrcodefashion.info/yapgb/yapgb.php?action=sign
[Sat Apr 06 16:42:36 2013] [error] [client 81.183.69.234] PHP Notice: Undefined variable: entries in /home/fs_local/x003568/web/qrcodefashion.info/yapgb/yapgb.php on line 425, referer: http://qrcodefashion.info/yapgb/yapgb.php?action=sign
[Sat Apr 06 16:42:36 2013] [error] [client 81.183.69.234] PHP Notice: Undefined variable: limitValue in /home/fs_local/x003568/web/qrcodefashion.info/yapgb/gbfunc.php on line 562, referer: http://qrcodefashion.info/yapgb/yapgb.php?action=sign
[Sat Apr 06 16:42:36 2013] [error] [client 81.183.69.234] PHP Notice: Undefined variable: page in /home/fs_local/x003568/web/qrcodefashion.info/yapgb/gbfunc.php on line 562, referer: http://qrcodefashion.info/yapgb/yapgb.php?action=sign
[Sat Apr 06 16:42:40 2013] [error] [client 81.183.69.234] PHP Notice: Undefined variable: cfgSiteIndex in /home/fs_local/x003568/web/qrcodefashion.info/yapgb/gbconfig.php on line 129, referer: http://qrcodefashion.info/yapgb/yapgb.php
[Sat Apr 06 16:42:40 2013] [error] [client 81.183.69.234] PHP Notice: Undefined index: PATH_TRANSLATED in /home/fs_local/x003568/web/qrcodefashion.info/yapgb/yapgb.php on line 135, referer: http://qrcodefashion.info/yapgb/yapgb.php
[Sat Apr 06 16:42:40 2013] [error] [client 81.183.69.234] PHP Notice: A session had already been started - ignoring session_start() in /home/fs_local/x003568/web/qrcodefashion.info/yapgb/gbfunc.php on line 278, referer: http://qrcodefashion.info/yapgb/yapgb.php
[Sat Apr 06 16:42:40 2013] [error] [client 81.183.69.234] PHP Notice: Undefined variable: emailLink in /home/fs_local/x003568/web/qrcodefashion.info/yapgb/gbfunc.php on line 376, referer: http://qrcodefashion.info/yapgb/yapgb.php
[Sat Apr 06 16:42:40 2013] [error] [client 81.183.69.234] PHP Notice: Undefined variable: urlLink in /home/fs_local/x003568/web/qrcodefashion.info/yapgb/gbfunc.php on line 377, referer: http://qrcodefashion.info/yapgb/yapgb.php
[Sat Apr 06 16:42:40 2013] [error] [client 81.183.69.234] PHP Notice: Undefined variable: emailLink in /home/fs_local/x003568/web/qrcodefashion.info/yapgb/gbfunc.php on line 393, referer: http://qrcodefashion.info/yapgb/yapgb.php
[Sat Apr 06 16:42:40 2013] [error] [client 81.183.69.234] PHP Notice: Undefined variable: uriLink in /home/fs_local/x003568/web/qrcodefashion.info/yapgb/gbfunc.php on line 394, referer: http://qrcodefashion.info/yapgb/yapgb.php
[Sat Apr 06 16:42:40 2013] [error] [client 81.183.69.234] PHP Notice: A session had already been started - ignoring session_start() in /home/fs_local/x003568/web/qrcodefashion.info/yapgb/gbfunc.php on line 436, referer: http://qrcodefashion.info/yapgb/yapgb.php
[Sat Apr 06 16:42:40 2013] [error] [client 81.183.69.234] PHP Notice: Use of undefined constant gd_info - assumed 'gd_info' in /home/fs_local/x003568/web/qrcodefashion.info/yapgb/gbfunc.php on line 452, referer: http://qrcodefashion.info/yapgb/yapgb.php
[Sat Apr 06 16:42:41 2013] [error] [client 81.183.69.234] PHP Notice: Undefined variable: cfgSiteIndex in /home/fs_local/x003568/web/qrcodefashion.info/yapgb/gbconfig.php on line 129, referer: http://qrcodefashion.info/yapgb/yapgb.php?action=sign
[Sat Apr 06 16:42:41 2013] [error] [client 81.183.69.234] PHP Notice: Use of undefined constant gd_info - assumed 'gd_info' in /home/fs_local/x003568/web/qrcodefashion.info/yapgb/gbfunc.php on line 766, referer: http://qrcodefashion.info/yapgb/yapgb.php?action=sign
[Sat Apr 06 16:46:29 2013] [error] [client 81.183.69.234] File does not exist: /home/fs_local/x003568/web/qrcodefashion.info/qrcodeuzi5!c&
[Sat Apr 06 16:47:23 2013] [error] [client 81.183.69.234] File does not exist: /home/fs_local/x003568/web/qrcodefashion.info/qrcodeuzi5!c&
[Sat Apr 06 16:48:24 2013] [error] [client 81.183.69.234] File does not exist: /home/fs_local/x003568/web/qrcodefashion.info/qrcodeuzi5!c&
PHP security error log last 25 lines:
|
Köszi szépen.
Hoffy
|

RimElek
VIP
|
A newhosting oldaláról idézek:
"Újabb szoftverkörnyezet
Újabb PHP és MySQL verziók használunk. Az adminisztrációs felületről elérhető az error log és phpinfo."
Vagyis a phpinfo-t eléred az admin felületről. Egyébként egy függvény PHP-ben. Ami kiírja a php környezeti változóit és beállításokat. Az admin felületen persze egy weboldalt találsz majd, ahol ennek az eredményét látod.
Azt viszont kétlem, hogy ne lenne ott GD támogatás ( képkezelés ). Nem olyan kis szolgáltató az. Viszont előfordulhat olyan hiba, ami miatt a képet generáló php nem tud képet generálni egy másik hiba miatt. Amit kiír, de csak akkor látod, ha azt a fájlt közvetlenül megnyitod.
Például , ha a vendégkönyv korábbi php verzióhoz készült és olyan függvényt használ, ami az újban nem működik. Általában viszont az szokott lenni, hogy a program nem tökéletes és azon a tárhelyen, ahol nem írt ki hibát, és így megjelent a kép, csak el lettek rejtve a hibaüzenetek.
Ami még lehet, hogy a vendégkönyv automatikusan számítja ki a képgeneráló fájl helyét, de rosszul. A loginrendszeremnél ez volt. 3 különböző tárhelyen 3 különböző beállítás kellett.
|

Hoffy
Kezdő
|
Szia!
Nem tudom Php infó alatt mit értesz? Természetesen megadom a szükséges infókat csak az mi legyen. Köszi.
Hoffy
|

raczger
Admin
|
Valószínűleg azon a tárhelyen nem engedélyezett a GD, ha esetleg tudsz mutatni egy phpinfo-t, okosabbak leszünk.
|

Hoffy
Kezdő
|
Szép napot!
Tetszik ez a vendégkönyv és beépíteném a weblapomba. Fel is raktam mindenben követve a leírtakat csak sajnos nem jelenik meg a biztonsági kód képe. A Newhostingnál van a weblap. Mit csinálok rosszul. Köszi a segítséget.
Hoffy
|

raczger
Admin
|
Na ma volt időm kipróbálni az atw-n és elvielg megvan a másik hiba, amiért neked sem megy. A tárhelyeden a főkönyvtárba létre kell hozni egy tmp nevű mappát. Abban tárolja a sessionöket szerintem, csak nem értem miért van így megoldva azon a tárhelyen, fura.
|

COm
Kezdő
|
Rendben, köszi a segítséget. Még nem működik, de még próbálkozom. 
|
|