Mahlzeit!
Ohne einen nennenswerten Erfolg versuche ich den Viscacha Smileygenerator 2.0.2 Lite zum Laufen zu bewegen.Ich verzweifel ein bissel an dem korrekten "absoluten Pfad". Raffe ich irgendwie net... In der Installations-Readme steht folgendes:
Lade alle Dateien, aussser die readme.htm und die text2schild.php, hoch
CHMOD 666: data/config.inc.php
CHMOD 666: data/count.php
Anpassen folgender Werte in der data/config.inc.php:
$config['path'] = '/www/htdocs/username/generator/'; Absoluter Pfad zum Verzeichnis mit den Schriften ("/" am Ende)
$config['url'] = 'http://localhost/gen/'; URL zum Ordner in dem der Smileygenerator und z.B. index.php liegt
$config['password'] = 'admin'; Passwort für die Administration setzen
Meine config.inc.php schaut jetzt so aus:
<?php
$config['path'] = '/www/graffiti-dortmund.de/test_vkp/html/modules/200_light/fonts/';
$config['stopservice'] = 0;
$config['version'] = 'Lite 2.0.2';
$config['url'] = 'http://www.graffiti-dortmund.de/text_vkp/html/modules/200_light/index.php/';
$config['pre'] = '[img]';
$config['after'] = '[/img]';
$config['maxlinelength'] = 50;
$config['maxwordlength'] = 30;
$config['maxtextlength'] = 250;
$config['maxrowlength'] = 5;
$config['password'] = 'admin';
$config['smileysperrow'] = 5;
?>
Rufe ich das Modul auf bekomme ich leider nur folgendes:
Warning: main(inc/php.php): failed to open stream: No such file or directory in /homepages/36/d66573421/htdocs/test_vkp/html/modules/200_light/inc/main.inc.php on line 4
Warning: main(): Failed opening 'inc/php.php' for inclusion (include_path='.:/usr/local/lib/php') in /homepages/36/d66573421/htdocs/test_vkp/html/modules/200_light/inc/main.inc.php on line 4
Warning: file(./data/smileys.php): failed to open stream: No such file or directory in /homepages/36/d66573421/htdocs/test_vkp/html/modules/200_light/inc/main.inc.php on line 90
Warning: Invalid argument supplied for foreach() in /homepages/36/d66573421/htdocs/test_vkp/html/modules/200_light/inc/main.inc.php on line 92
Warning: file(./data/fonts.php): failed to open stream: No such file or directory in /homepages/36/d66573421/htdocs/test_vkp/html/modules/200_light/inc/main.inc.php on line 90
Warning: Invalid argument supplied for foreach() in /homepages/36/d66573421/htdocs/test_vkp/html/modules/200_light/inc/main.inc.php on line 92
Hat jemand einen Tipp, wo mein Fehler begraben liegt?
Gruß, Marcus
Hallo !
Das soll doch bestimmt anders heissen --->
Zitat$config['url'] = 'http://www.graffiti-dortmund.de/text_vkp/html/modules/200_light/index.php/';
das soll doch wohl
Zitattest_vkp
heissen ?!
Vielleicht ist der Fehler dann schon behoben, wenn Du das änderst ....
BTW: am Ende barucht nicht das index.php/ stehen. Mach das mal weg .....
MfG
jubilee
Lol..Ja das war ein Tippfehler mit dem "text" - "test".
Leider brachte das auch nicht den gewünschten Erfolg. Auch nicht das Entfernen des "/" am Ende.
Die Admin.php des Modules kann ich problemlos aufrufen. Aber das bringt leider auch nix.
http://www.graffiti-dortmund.de/text_vkp/html/modules/200_light/admin.php
PW ist XXXXX...
*editiert*
Ahhh jetzt sehe ich ....
Das hier :
Zitat$config['path'] = '/www/graffiti-dortmund.de/test_vkp/html/modules/200_light/fonts/';
ändern in :
Zitat$config['path'] = '/homepages/36/d66573421/htdocs/test_vkp/html/modules/200_light/fonts/';
Probier einmal ....
MfG
jubilee
Hab ich schon für Dich eingestellt ;)
Läuft jetzt .....
hehe, Danke Danke :) ;D
Das Modul läßt sich nun schon mal aufrufen und Schilder kann man auch machen.
Leider erscheint zwar die Vorschau und der Bildpfad des Schildes, kopiert man den
Code aber irgendwo rein (Forum), erscheint nur ein rotes Kreuz?
Das Modul: http://www.graffiti-dortmund.de/test_vkp/html/modules/200_light/index.php
gruß, Marcus
Hmmm ....
Wenn Du den Link (ohne (//http://) ) direkt im Browser aufrufst, wird der Smilie richtig angezeigt.
Evt. liegt es am Forum hier ?
(https://forum.pragmamx.org/proxy.php?request=http%3A%2F%2Fwww.sys3.de%2Fsmilie_creator%2Ftext2schild.php%3Fsmilie%3D48%26amp%3Bfontcolor%3D000000%26amp%3Bshadowcolor%3DFFFFFF%26amp%3Bshieldshadow%3D1%26amp%3Btext%3DMal%2520sehen%2C%2520ob%2520es%2520hier%2520am%2520Forum%2520liegt%2520..........&hash=cf8c30fa5be0ff1ce29603992c69e3ca38f3797b)
Nein, daran liegt es nicht .....
(https://forum.pragmamx.org/proxy.php?request=http%3A%2F%2Fwww.graffiti-dortmund.de%2Ftest_vkp%2Fhtml%2Fmodules%2F200_light%2Findex.php%3Faction-generate%26amp%3Btext%3Dsollte%2520der%2520bl%25F6de%2520Generator%2520etwa%2520nun%2520funzen%253F%26amp%3Bsmilienummer%3Dvorlage4.png%26amp%3Bface%3D18thCentury.ttf&hash=00687c5ccc5973d8fd27899f28f705575a2003cb)
Komisch gell?! :mad: Stimmt, die wenn man den Smiley-Link im Browser einfügt, wird der auch angezeigt...
nervenraubendes Dingen...
Hm..Also deine Idee war gar nicht mal so falsch!
Hier im Forum und bei mir im SMF-Test Forum taucht ja nur das "Rote-Kreuz" auf...
beim eBoard funzt es aber!!! Habe es gerade getestet!!
Hallo !
Es liegt hier am Board. Das kann das index.php?action=generate nicht vertragen und ersetzt es durch index.php?action-generate
Abhilfe :
Die Datei index.php.php editieren.
alt:
switch ($_REQUEST['action']) {
neu :
switch ($_REQUEST['aktion']) {
(https://forum.pragmamx.org/proxy.php?request=http%3A%2F%2Fwww.sys3.de%2Fsmilienew%2F200_light%2Findex.php%3Faktion%3Dgenerate%26amp%3Btext%3DJohoho%2520.....%250D%250AEs%2520funktioniert........%250D%250AEs%2520wird%2520ein%2520Falsches%2520Zeichen%2520im%2520Link%2520eingebaut%2520%26amp%3Bsmilienummer%3Dvorlage1.png&hash=c4233b6d09582c8da7e964b9be716990b06e48c5)
Jetzt muss nur noch die automatische Linkerzeugung angepasst werden ....
dazu in templates/form.js editieren (ganz unten :
var url = surl+'index.php?action=generate'+text+sn+size+face+color+schildbg+border+align;
ändern in :
var url = surl+'index.php?aktion=generate'+text+sn+size+face+color+schildbg+border+align;
(https://forum.pragmamx.org/proxy.php?request=http%3A%2F%2Fwww.sys3.de%2Fsmilienew%2F200_light%2Findex.php%3Faktion%3Dgenerate%26amp%3Btext%3DJohooooo%2520..........%250D%250AAlle%2520angesprochenen%2520%25C4nderungen%2520funktionieren.%250D%250ANach%2520den%2520Modifikationen%2520geht%2520der%2520Smilie-Creator%2520auch%2520mit%2520mod-rewrite%2520%2521%26amp%3Bsmilienummer%3Dvorlage1.png&hash=1475a27beb3270bcf71d3b338562f42fd73722d0)
So.
Ich will dich ja nicht nerven, aber wenn ich die Änderungen vornehme bekomme ich folgende Fehlermeldung:
Notice: Undefined index: aktion in /homepages/36/d66573421/htdocs/test_vkp/html/modules/200_light/index.php on line 19
Line 19 ist das hier:
switch ($_REQUEST['aktion']) {
Außerdem werden die Smileys im Generator nicht mehr angezeigt? Ich glaube ich bin doof :'(
http://www.graffiti-dortmund.de/test_vkp/html/modules/200_light/
Dafür gehen die Smileys nun in der Vorschau und gehen auch im SMF
Hallo !
Folgende Änerungen noch (ist mir selbst noch nicht aufgefallen ....
Inder inc/vars.inc.php
Zitat$http_vars = array(
'action' => 'string',
'text' => 'string',
nach
Zitat$http_vars = array(
'action' => 'string',
'aktion' => 'string',
'text' => 'string',
ändern.
In der templates/show.html
Zitat<img src="index.php?action=generate" id="icons" border="0" alt="Vorschau" /><br /><br />
nach
Zitat<img src="index.php?aktion=generate" id="icons" border="0" alt="Vorschau" /><br /><br />
ändern
und
templates/show_smilie_bit.html
Zitat<img src='index.php?action=generate&smilienummer=<?php echo rawurlencode($row[0]); ?>&text=Smiley'
ändern nach
Zitat<img src='index.php?aktion=generate&smilienummer=<?php echo rawurlencode($row[0]); ?>&text=Smiley'
Das sollte es dann aber sein...
(https://forum.pragmamx.org/proxy.php?request=http%3A%2F%2Fwww.sys3.de%2Fsmilienew%2F200_light%2Findex.php%3Faktion%3Dgenerate%26amp%3Btext%3DSorry%2520f%25FCr%2520die%250D%250Avergessenen%2520%25C4nderungen%2520%253B%2529%250D%250A%26amp%3Bsmilienummer%3Dvorlage1.png%26amp%3Bsize%3D16%26amp%3Bface%3DAirbus_Spezial.ttf&hash=45b84f3a446d07467a418885ff54c5564d4e6812)
Kein Prob! Dachte nur langsam daran zu verzweifeln mit dem doofen Generator :D
(https://forum.pragmamx.org/proxy.php?request=http%3A%2F%2Fwww.graffiti-dortmund.de%2Ftest_vkp%2Fhtml%2Fmodules%2F200_light%2Findex.php%3Faktion%3Dgenerate%26amp%3Btext%3DHurra%252C%2520%2520Heureka%2521%2521%250D%250AVielen%2520vielen%2520Dank%2520Jubilee%2521%2521%2521%250D%250ANun%2520funzt%2520das%2520olle%2520Dingen%2520endlich%2521%26amp%3Bsmilienummer%3Dvorlage12.png%26amp%3Bsize%3D24%26amp%3Bface%3D18thCentury.ttf&hash=de79d30967e58c45958bccd5fde35671593cea0d)
Hm..bei mir im SMF Board werden die Smileys so groß wie in der Vorschau.. hier irgendwie nur als Miniatur?
Naja egal, Das Modul geht nun bei mir! Vielen Dank Jubilee!!!
Gruß, Marcus
Hallo !
Zitathier irgendwie nur als Miniatur?
ja das Board hier korrigiert automatisch auf ca. 137x57 .
Kann man aber nacheditieren und dann dem URL-Tag eine andere Größe geben.
Müss mer mal schauen, warum das hier Board sowas macht ... ???
Hab beim Installieren auch folgende Fehlermeldungen :
Warning: main(data/config.inc.php): failed to open stream: No such file or directory in /opt/root/home/autotuninglinksde/public_html/modules/200_light/index.php on line 13
Warning: main(data/config.inc.php): failed to open stream: No such file or directory in /opt/root/home/autotuninglinksde/public_html/modules/200_light/index.php on line 13
Warning: main(): Failed opening 'data/config.inc.php' for inclusion (include_path='') in /opt/root/home/autotuninglinksde/public_html/modules/200_light/index.php on line 13
Warning: main(inc/main.inc.php): failed to open stream: No such file or directory in /opt/root/home/autotuninglinksde/public_html/modules/200_light/index.php on line 14
Warning: main(inc/main.inc.php): failed to open stream: No such file or directory in /opt/root/home/autotuninglinksde/public_html/modules/200_light/index.php on line 14
Warning: main(): Failed opening 'inc/main.inc.php' for inclusion (include_path='') in /opt/root/home/autotuninglinksde/public_html/modules/200_light/index.php on line 14
Warning: main(inc/vars.inc.php): failed to open stream: No such file or directory in /opt/root/home/autotuninglinksde/public_html/modules/200_light/index.php on line 15
Warning: main(inc/vars.inc.php): failed to open stream: No such file or directory in /opt/root/home/autotuninglinksde/public_html/modules/200_light/index.php on line 15
Warning: main(): Failed opening 'inc/vars.inc.php' for inclusion (include_path='') in /opt/root/home/autotuninglinksde/public_html/modules/200_light/index.php on line 15
Warning: main(inc/template.inc.php): failed to open stream: No such file or directory in /opt/root/home/autotuninglinksde/public_html/modules/200_light/index.php on line 16
Warning: main(inc/template.inc.php): failed to open stream: No such file or directory in /opt/root/home/autotuninglinksde/public_html/modules/200_light/index.php on line 16
Warning: main(): Failed opening 'inc/template.inc.php' for inclusion (include_path='') in /opt/root/home/autotuninglinksde/public_html/modules/200_light/index.php on line 16
Notice: Undefined variable: config in /opt/root/home/autotuninglinksde/public_html/modules/200_light/index.php on line 18
Notice: Undefined index: action in /opt/root/home/autotuninglinksde/public_html/modules/200_light/index.php on line 19
Warning: main(inc/show.inc.php): failed to open stream: No such file or directory in /opt/root/home/autotuninglinksde/public_html/modules/200_light/index.php on line 24
Warning: main(inc/show.inc.php): failed to open stream: No such file or directory in /opt/root/home/autotuninglinksde/public_html/modules/200_light/index.php on line 24
Warning: main(): Failed opening 'inc/show.inc.php' for inclusion (include_path='') in /opt/root/home/autotuninglinksde/public_html/modules/200_light/index.php on line 24
Das habe ich in der config.inc.php stehen .
<?php
$config['path'] = '/opt/root/home/autotuninglinksde/public_html/modules.php?name=200_light/fonts/';
$config['stopservice'] = 0;
$config['version'] = 'Lite 2.0.2';
$config['url'] = 'http://www.tuningcar.de/modules.php?name=200_light/index.php/';
$config['pre'] = '[img]';
$config['after'] = '[/img]';
$config['maxlinelength'] = 50;
$config['maxwordlength'] = 30;
$config['maxtextlength'] = 250;
$config['maxrowlength'] = 5;
$config['password'] = 'admin';
$config['smileysperrow'] = 5;
?>
Kann mir auch jemand weiterhelfen ?
Hallo !
Zitat$config['path'] = '/opt/root/home/autotuninglinksde/public_html/modules.php?name=200_light/fonts/';
$config['url'] = 'http://www.tuningcar.de/modules.php?name=200_light/index.php/';
Das Teil ist kein Modul sondern ein eigenständiges Script.
Ergo ghört es NICHT in den modules-Ordner und es wird auch NICHT über
modules.php?name=200_light angesprochen.
Bitte in beiden Angaben den korrekten Pfad zum Modul setzen. Und wenn es wirklich im Modules-Ordner liegt, dann raus damit und woanders hin !
MfG
jubilee
Moin!
Stimmt:-) Hatte ich auch erst probiert:-)
Also den Generator irgendwo auf den Server spielen. Bei mir heißt der Ordner vom generator
200_light. Dann so aufrufen :200_light/index.php bzw. für die Administration:
200_light/admin.php. Mit den Änderungen, die Jubilee angegeben hat funktioniert der
Generator dann auch mit eBoard UND dem SMF-Board!
gruß, Marcus