We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 13730
    • 149 Posts
    My first language is French, I hope you understand my problem.

    Very strange problem, some resources work with a template, other resources provokes a server error 500. I tried to find a pattern of this error but I can't. I suspect my template «general» but it is working well with some resources.

    First when the problem occurred, I did the following things :

    Phase 1
    1) Delete the content of my «general» template, save the template and rewrite the content.
    2) Delete the template and create a new one with the same content
    3) Each time I test a template I clear the cache

    No luck, the problem still there.

    Phase 2
    1) I delete the content of the core/cache folder via FTP
    2) Re-install Modx 2.2.0

    This has not solved the problem.

    I spent several hours trying to understand what could cause this problem, but I found nothing. Does someone could point me to a solution to this strange problem?

    ________________

    Modx : 2.2.0 | PHP : 5.2.17 | MySql : 5.0.92-community-log
    Server : Apache | ExtJS : 3.4.0 | Smarty : 3.0.4 | PHPMailer 2.0.4

    Templates (T)
    - Base template (a) with TV = no
    - Accueil (b) with TV = yes
    - General (c) with TV = yes

    Ressources

    Web
    - Accueil (id = 1) | (T = b) with (T= c) ==> error 500

    - A propos de nous (id = 2) | (T = a) with (T= c) ==> error 500
    ----- Comite organisateur (id = 3) | (T = c) ==> working
    ----- Historique (id = 4) | (T = c) ==> working
    ----- Regions (id = 5) | (T = c) ==> working
    ----- Contact (id = 6) | (T = c) ==> working

    - Entreprises (id = 7) | (T = a) | with (T= c) ==> error 500- devenir exposant (id = cool | (T = c) ==> working
    ----- Inscription au salon (id = 9) | (T = c) ==> working
    ----- Déjeuner causerie (id = 10) | (T = c) ==> working
    ----- Inscription déjeuner (id =11) | (T = c) ==> working

    - Chercheurs d'emploi (id=12) | (T = a) | with (T= c) ==> error 500
    ----- info salon (id = 13) | (T = c) ==> working
    ----- Organismes en formation (id = 14) | (T = c) ==> working
    ----- Organismes aide emploi (id = 15) | (T = c) ==> working
    ----- Offres d'emploi (id = 16) | (T = c) (with getPage element getResources) ==> working
    --------------- emplois - Articles resources (id = 36) | (T = deflate articles templates) ==> working

    - Maintenance (id =1 6) | (T = empty) ==> working
    - Merci inscription salon (id = 40) | (T = b)  | with (T = c) ==> error 500
    - Exposants (id = 63) | (T = a) | with (T = b) ==> error 500 | ==> (T = c) ==> error 500
    - Merci dejeuner (id = 41) | (T = b) | with (T= c) ==> error 500
    - Merci contact (id = 42) | (T = b) | with (T= c) ==> error 500

    [ed. note: jber last edited this post 14 years, 8 months ago.]
      • 31946
      • 116 Posts
      Are you using Friendly URL's?
      Any errors in the Error Log?
      I remember to had also problems once with containers and FURLS, can you for example once try to uncheck the "Container" Flag in the Entreprise-Resource, clear the cache and try again?
        • 13730
        • 149 Posts
        Thank for answering.

        Yes, I am using FURLS, but I made tests without FURLS and I have the same problems.

        Unchecking the «Container Flag » for my «Entreprise resource» change nothing.

        I give to my «Entreprise Resources » the «general Template» and it give me a error 500.

        But I got this message in the error log and I made the corrections:
        « [2012-01-23 15:39:01] (ERROR @ /index.php) [FormIt] Could not find hook "retourTextarea".»

        I don't think this error is relate to my the error 500.
          • 13730
          • 149 Posts
          I got theses new error messages

          [2012-01-23 16:28:48] (ERROR @ /connectors/workspace/packages.php) Impossible d'ouvrir le fichier pour lire: archivist-1.2.2-pl.transport.zip?revolution_version=Revolution-2.2.0-pl2

          [2012-01-23 16:28:48] (ERROR @ /connectors/workspace/packages.php) MODX could not download the file. You must enable allow_url_fopen, cURL or fsockopen to use remote transport packaging.

          [2012-01-23 16:28:48] (ERROR @ /connectors/workspace/packages.php) Impossible de transférer le paquet archivist-1.2.2-pl.transport.zip vers /home/emploibr/public_html/core/packages/.

          [2012-01-23 16:28:49] (ERROR @ /connectors/workspace/packages.php) Impossible d'ouvrir le fichier pour lire: getpage-1.2.2-pl.transport.zip?revolution_version=Revolution-2.2.0-pl2

          [2012-01-23 16:28:49] (ERROR @ /connectors/workspace/packages.php) MODX could not download the file. You must enable allow_url_fopen, cURL or fsockopen to use remote transport packaging.

          [2012-01-23 16:28:49] (ERROR @ /connectors/workspace/packages.php) Impossible de transférer le paquet getpage-1.2.2-pl.transport.zip vers /home/emploibr/public_html/core/packages/.

          [2012-01-23 16:28:50] (ERROR @ /connectors/workspace/packages.php) Impossible d'ouvrir le fichier pour lire: taglister-1.1.6-pl.transport.zip?revolution_version=Revolution-2.2.0-pl2

          [2012-01-23 16:28:50] (ERROR @ /connectors/workspace/packages.php) MODX could not download the file. You must enable allow_url_fopen, cURL or fsockopen to use remote transport packaging.

          [2012-01-23 16:28:50] (ERROR @ /connectors/workspace/packages.php) Impossible de transférer le paquet taglister-1.1.6-pl.transport.zip vers /home/emploibr/public_html/core/packages/.
            • 13730
            • 149 Posts
            I check for the allow_url_fopen via the modx system info and it indicate «on»
              • 13730
              • 149 Posts
              Thanks, when I verify the error log of my sever, I found the error.

              It was one of my snippet that was causing the problem.

              Thank you for putting me on the track the file errors.