Recent Posts

Pages: 1 2 3 [4] 5 6 7 8 ... 10
31
Error Messages / Fehlermeldungen / Re: Unable to login or/and request new password
« Last post by Sunny C. on August 28, 2023, 10:27:00 AM »
The error message indicates that there is an issue with sending emails on your website. Let's go through the message step by step:

1. **Warning: fsockopen(): Unable to connect to localhost:25 (Connection refused) in /customers/.../4images/includes/email.php on line 184**: This part of the message indicates that a connection to "localhost" on port 25 (SMTP port) could not be established. The "Connection refused" error typically means that the server on the specified port is not reachable. In this case, the script is attempting to connect to the local email server to send emails, but the connection is being refused.

2. **Fatal error: Uncaught TypeError: fgets(): Argument #1 ($stream) must be of type resource, bool given in /customers/.../4images/includes/email.php:185**: Here, a fatal error is reported. The script is trying to call the `fgets` function, but the first parameter (`$stream`) should be of resource type (usually a file or network stream), but it's receiving `false` instead. This indicates that the connection to the email server was not successfully established, resulting in `false` being returned.

3. **Stack trace**: These lines show the call stack, which means which functions or parts of the code led to the error.

In summary:

- Your script is attempting to send an email via the local email server (SMTP) but is unable to establish a connection to the server on port 25.
- This results in a `false` value being returned when the script tries to call `fgets` to read data from the email server.
- Ultimately, this leads to a fatal error and the termination of the script.

Possible reasons for this issue could include:

- The local email server is not properly configured or running.
- Firewall or security settings may be blocking the connection on port 25.
- The SMTP server might require authentication or other configurations that are not set correctly.

To resolve the problem, you should:

1. Check the configuration of the email server that the script is trying to access.
2. Ensure that the email server is running correctly and listening on port 25.
3. Review firewall settings and network restrictions that could be blocking the connection.
4. Verify that the email libraries or classes you are using are properly configured and can handle the connection appropriately.

Please note that the exact solution will depend on the technologies you are using and the configuration of your environment.
32
Error Messages / Fehlermeldungen / Unable to login or/and request new password
« Last post by musicalcat on August 25, 2023, 02:32:25 PM »
Hello,

Edit: Solved in another way.
33
Templates & Styles (Releases & Support) / Re: [Template] Prodigy Responsive
« Last post by comicart on August 21, 2023, 05:20:26 AM »
Have you tested this with 1.10?
Do you have an updated version of your theme?
34
Installation, Update & Configuration / Re: Change host
« Last post by stefano54 on July 09, 2023, 05:41:24 PM »
Risolto.
Ok !!
35
Installation, Update & Configuration / Change host
« Last post by stefano54 on July 05, 2023, 02:01:36 PM »
Hello.
after host change the following error appears
how can i fix the error

36
Installation, Update & Configuration / Leuchtkasten
« Last post by Mathias1984 on June 12, 2023, 02:08:18 PM »
Hallo in die Runde,

mir ist seit Tagen Aufgefallen,wenn ich ein bild Veröffenlicht habe wo ich danach auf den Leuchtkasten klicke um das Bild im Profil zu haben wie die anderen,habe gemerkt das dies nicht mehr gespeichert wird,ist das normal?
37
Ich glaube du wirst dabei nicht drumherumkommen, auf das Flash zu verzichten.

Das hier ist out-of-the-box und habe es nicht testen können.
Hier ist ein Beispiel für eine mögliche Implementierung mit der HTML5 File API und XMLHttpRequest.
Ich habe es selbst nicht testen können, vielleicht bekommst du es ja zum laufen:

Code: [Select]
<input type="file" id="fileInput" multiple>
<button id="uploadButton">Durchsuchen &amp; Hochladen</button>
<div id="progressContainer"></div>

<script>
  document.getElementById('uploadButton').addEventListener('click', function() {
    var files = document.getElementById('fileInput').files;
    var formData = new FormData();
   
    for (var i = 0; i < files.length; i++) {
      formData.append('file[]', files[i]);
    }
   
    formData.append('PHPSESSID', '<?php echo session_id(); ?>');
    formData.append('user_id', '{user_id_upload_multi}');
    formData.append('max_thumb_height', '{max_thumb2_height}');
    formData.append('max_thumb_width', '{max_thumb2_width}');
    formData.append('auto_thumbnail_quality', '{auto_thumbnail2_quality}');
    formData.append('thumbnail_proportions', '{thumbnail_proportions}');
    formData.append('direct_upload', '{direct_upload}');
    formData.append('cat_id', '<?php echo $cat_id?>');
   
    var xhr = new XMLHttpRequest();
   
    xhr.open('POST', 'multiupload_2.php', true);
   
    xhr.upload.onprogress = function(e) {
      if (e.lengthComputable) {
        var percent = (e.loaded / e.total) * 100;
        document.getElementById('progressContainer').innerHTML = percent + '% hochgeladen';
      }
    };
   
    xhr.onload = function() {
      if (xhr.status === 200) {
        // Upload erfolgreich
        alert('Upload abgeschlossen');
      } else {
        // Upload fehlgeschlagen
        alert('Fehler beim Hochladen');
      }
    };
   
    xhr.send(formData);
  });
</script>
38
Ich weiß das ist alles schon ganz schön lange her, aber ich bin gerade dabei meine Webseite wieder Aufzuarbeiten,
nachdem ich lange probleme hatte und keine Zeit diese zu Fixen.
Eines davon ist, das ich beim Laden des Multiupload-Form in der Browserkonsole den Error
Code: [Select]
SWFUpload is not defined
    at window.onload (
bekomme. Die SWF-Datei liegt im richtigen Pfad, hat ja auch alles mal funktioniert.
Ich weiß auch, das die meißten Browser heutzutage kein Flash mehr out of the Box unterstützen, aber selbst
mit entsprechendem Plugin z.B. im Chrome funktioniert das nicht.

Hat da jemand ne Idee?
39
Feedback & Suggestions / Re: 4images 1.10 - Feedback
« Last post by Sunny C. on May 02, 2023, 08:57:11 AM »
Wie ist denn euer Stand dazu aktuell?
40
Error Messages / Fehlermeldungen / Re: Probleme mit der neuen 4images version
« Last post by php8 on March 13, 2023, 02:53:31 PM »
Hallo,

hast du Zugriff auf das php Errorlog deines Hosters und welche Meldungen sind dort ersichtlich?

  • Handelt es sich um eine hier öffentlich im Forum vorgestellte und noch einsehbare Erweiterung?
  • Handelt es sich um eine 4images Neuinstallation oder um ein Update?
  • Wurden möglicherweise im Zuge des Updates manuell veränderte Dateien mit 4images Standarddateien überschrieben oder wurden Dateien der Erweiterung gelöscht, auf die Teile des Programmcodes referenzieren?

LG.
Pages: 1 2 3 [4] 5 6 7 8 ... 10