Ich hoffe auf Euer aller Hilfe! Neuling versucht das Problem zu beschreiben:
Xampp läuft soweit - hab seither nur mit html_dateien aus Dreamweaver gearbeitet - alles ok. Versuche nun mit php/MySql zu starten und jetzt fangen die Probleme an.
Zuerst der Zustandsbericht: Xammp ist nicht auf C:/Programme installiert sondern auf D:/xampp, dort htdocs, mein root-verzeichnis heißt jkc, der Aufruf der Indexdatei lt. also http://localhost/jkc/..
Ich habe mir nun die Scripte Formfield, bzw. Formgen (Formulargenerator mit mySQL-Anbindung) angeschafft. Zwei Verzeichnisse, die über .../Formfield/config.php eingerichtet und konfiguriert werden können. Auf den Webspace (über ftp) überspielt zwei Verzeichnisse Formfield und Formgen und voila - mit http://www.meinedomain/Formfield/config.php klappt das ganze auch.
Um das ganze auch local testen zu können habe ich nun die zwei Verzeichnisse nach D://xampp/htdocs/jkc/ kopiert, die Einrichtung sollte dann unter http://localhost/jkc/Formfields/config.php funktionieren - tut es aber nicht...
Nach einem kurzen "Aufflackern" einer langen Buchstaben/Zeichenfolge bekomme ich folgende Fehlermeldung: Zugriff verweigert!
Der Zugriff auf das angeforderte Objekt ist nicht möglich. Entweder kann es vom Server nicht gelesen werden oder es ist zugriffsgeschützt.
Sofern Sie dies für eine Fehlfunktion des Servers halten, informieren Sie bitte den Webmaster hierüber.
Error 403
localhost
04.12.2010 01:14:31
Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1
Komischerweise: im Verzeichnis ..Formfields gibt es ein examples_Verzeichnis, dort eine index.php. Wenn ich diese aufrufe, also http://localhost/jkc/Formfields/examples/ wird die index-Datei nach einer langen Text/Zeichen angezeigt - ungefähr - so:
*/ function setValue($values) { parent::setValue($values); if (is_array($values)) { $this->clearValue(); foreach ($values as $value) { $match = false; foreach ($this->checkboxes as $i=>$checkbox) { if ($checkbox->getLabel() === $value) { $this->checkboxes[$i]->setValue("true"); $match = true; break; } } // If there wasn't a match then we assume it is the other value if ($this->includeOtherChoice && !$match && !$this->isBlank($value)) { $this->otherChoice->setValue($value); $this->otherBox->setValue("true"); //$this->otherChoice->setEnabled(true); } } } } /** * Sets the database value of this field. A database * value can be different than the field's actual value. For * example a phone number may have the value * "973-746-3233" but its database value would be "9737463233" * @param string value a comma separated list of values that is comma escaped * @since FORMfields v3.0 */ function setDbValue($value) { $this->setValue(FfHelper::stringToArray($value)); } /** * Retrieves the posted field value. In other words, sets this * field value using the appropriate values in $_REQUEST. * @since FORMfields v3.0 */ function getParameter() { parent::getParameter(); } /** * Checks for field errors detected by this field, including * a check for blank. This method ensures that if the other * choice is checked, that a value for other is supplied. * If an error is detected, the setError() method is called * to set the appropriate error message. * @return boolean true if there is an error or false otherwise * @since FORMfields v3.0 */ function isValid() { if (!parent::isValid()) return false; if ($this->isEmpty() && $this->otherBox->isEmpty()) return true; if ($this->includeOtherChoice && !$this->otherBox->isEmpty() && $this->otherChoice->isEmpty()) { $this->setError(FfLH::t("please specify a value for other") . "!"); return false; } return true; } } ?> FORMfields, the premiere web framework.
Examples:
* Path Examples:
o Contact Us 1 - Demonstrates how to use an absolute path with a FORMfields form, the default path configuration.
o Contact Us 2 - Dem
.. und wenn dabei bin - gleich noch ne Frage; Sollte es mir gelingen (mit Eurer Hilfe) das ganze zum Laufen zu bringen sind ja die Konfigurationen auf "Datenbankname xy" auf Server "localhost" eingestellt. Wenn ich nun alles auf meinen Webspace überspiele ("Datenbankname xy" auf Server "rdbms.strato.de") Strato - wer hätte es gedacht ) - muß ich dann "alles" wieder "umschreiben?
Hoffe mein Problem ausreichend beschrieben zu haben..