Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - proMedien

Pages: [1]
1
Hallo.

Also bei uns wurde das Problem mittlerweile folgendermaßen gelöst:
(vielleicht klappt das ja auch bei dir)

Suche:
Code: [Select]
<?php

while (list($textfeld$wert) = each ($HTTP_POST_VARS))

und ersetze durch:
Code: [Select]
<?php

while (list($textfeld$wert) = each ($_POST))

und
suche:
Code: [Select]
$inPHormer_headSend = "From: ".$HTTP_POST_VARS['E-Mail']."(".$HTTP_POST_VARS['Name_oder_Firma'].")";

und ersetze durch:
Code: [Select]
$inPHormer_headSend = "From: ".$_POST['EMail']."(".$_POST['Name_oder_Firma'].")";

Eigentlich wurde nur in der line 3 :wink: der Zusatz "HTTP" und "VARS" entfernt.
Und unten beim eMail zusammenbasteln dann natürlich auch.

Da ich sehr wenig Ahnung von php habe übernehme ich keine Gewähr für irgendeine Funktion hieraus.
Ich weiß nichtmal warum das jetzt funktioniert und vorher nicht. :oops:
Aber bei uns funktionierts wieder einwandfrei.

Ich hoffe, ich konnte helfen.
Grüße
Stephan

2
Hallo.

Vielen Dank für diesen superschnellen Tipp.
Ich dachte, es liegt an der Programmierung dieses MODs (unbeannter Befehl, oder so.)

Da ich allerdings viel von Hand umgeschrieben habe (und das gar nicht mehr alles weiß) muss ichs wohl von Hand machen.  :?
Dann werde ich mal updaten. Vielen Dank.

Grüße
Stephan

3
Hallo zusammen.

Mein Provider stellt Ende des Jahres den Betrieb von PHP4 auf seinen Servern komplett ein. Ist das Script so in dieser Version unter PHP5 lauffähig?
Ich habs mal getestet. Ich habe die Erweiterung ".php" als unterstütztes Format unter "PHP4-Extensions" rausgenommen und nur noch unter "PHP5-Extensions" dringelassen.

Dann habe ich folgende Fehlermeldung bekommen:
"Warning: Variable passed to each() is not an array or object in ...templates/default/quotation_send.php on line 3"

Wenn ich ".php" wieder PHP4 zuordne, läufts wieder.

Bitte helft mir, ich steh echt aufm Schlauch.

Vielen Dank
Stephan

-----

Hello everybody.

My provider completely stops the support of PHP4 to the end of the year. Does this Script run on PHP5?
I have already checked it. In the settings of the Server I deleted ".php" as supported "PHP4-Extension" and only left it as a "PHP5-Extension".

In my browser the follwing error message is shown:
"Warning: Variable passed to each() is not an array or object in ...templates/default/quotation_send.php on line 3"

Everything works fine again, if I put ".php" back on the supported filetypes for PHP4.

Can somebody please help me?

Very great thanks in advance
Stephan



4
Hallo zusammen.

Der Titel beschreibt schon ziemlich genau, was ich versuche.
Genauer gesagt:
Wenn der User "Fleisch" in das Suchfeld eingibt, erhält er als Ergebnis alle Bilder, die "Fleisch" als Keyword oder Bildnamen haben. So sollte es ja auch sein. Allerdings bekommt er nun nicht die Ergebnisse für "Grillfleisch" oder "Fleischwurst" dargestellt. Dafür muss er ein "*" vor oder hinter "Fleisch" setzen.

Meine Frage nun. Was muss ich abändern/ergänzen/entfernen um auch Ergebnisse für beispielsweise "Grillfleisch", "Brutzelfleisch", "Fleischwurst", "Fleischkäse" dargestellt zu bekommen, obwohl der User nur "Fleisch" eingegeben hat, ohne "*" vor oder hinter "Fleisch" setzen?

---------------------

Hello everybody.

I think the title says best, what i'm searching for.
Detailed:
If the user enters the phrase "Fleisch" in the search field, he gets shown every picture that contains the full word "Fleisch". Works like it schould work. But he doesn't get shown the results for "Grillfleisch" or "Fleischwurst" for example. To find the results to these phrases he has to put a "*" in front or behind the word "Fleisch".

Now the question. What do I have to modify to find all results, such as "Grillfleisch", "Brutzelfleisch", "Fleischwurst", "Fleischkäse" by just searching for "Fleisch", with no "*" in front or behind the word "Fleisch"?


Danke für jede Lösung oder Anregung.
Thanks for every solution or idea.

Stephan

5
Hi everybody.

Thank god (and the professionals in this forum) I found this mod. It is exactly what i´ve been searching for.
But i have to modify it a little. All the details like size, usage, distribution, duration, ... I don´t need in my case.
At first, I am a totally php-Newb. And after days of trying I need help now.

My version of 4images: 1.7.3
php-Version: 4.4.4

The situation:
The user fills his lightbox("Bildauswahl") with the pictures he wants to order. (MOD: Lightbox for guests. Great work.)
When finished he goes to the Order form("Bestellformular") fills out the input boxes with name, company, email, ... and klicks "Bestellen".
That creates a eMail with the list of pictures in his lightbox and his personal data that is sent to me. This works so far.

The problem:
The images are all listed among themselves. How can I let them list just like in the lightbox, 3 x 2 ?
How can I change the details given in the eMail, especially the real filename because that could be different.

I added my modified quotation.php as .txt after this reply.


I hope you could understand my problem and have any idea that could help me.
Thank you for every idea.

Stephan

Pages: [1]