We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
  • I would suggest that you remove all of the MODx tags from the template; just hardcode "hello world" where the content goes, and see what happens. If it is OK, then add tags one at a time and see which one breaks it.
      Studying MODX in the desert - http://sottwell.com
      Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
      Join the Slack Community - http://modx.org
      • 2762
      • 1,198 Posts
      Thanks a lot Susan
      I’ve Tried to remove all code from template - but error still remains with a completly blank template huh
        Free MODx Graphic resources and Templates www.tattoocms.it
        -----------------------------------------------------

        MODx IT  www.modx.it
        -----------------------------------------------------

        bubuna.com - Web & Multimedia Design
      • Hm. Do you have the original template still available to set the Default Template to in the Manager?

        Never mind; if you’re sure you took ALL of the modx tags, snippets, TVs, chunks, everything out, then you’ve got bigger problems. I just loaded up your template and it works fine.

        Try downloading the MODx 3.2 again, unzip it, and upload everything in the Manager folder again. You may have gotten a flaky download.
          Studying MODX in the desert - http://sottwell.com
          Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
          Join the Slack Community - http://modx.org
        • Did you update any modules or plugins you were using with the old version? (if you were using any)
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 2762
            • 1,198 Posts
            Quote from: sottwell at Oct 20, 2005, 12:43 PM

            Did you update any modules or plugins you were using with the old version? (if you were using any)

            downloaded again TP3.2 and upgraded again - same error.

            I found another error - now in the manager in the stats section:
            Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/html/manager/actions/static/welcome.static.action.php on line 110
            
            Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/html/manager/actions/static/welcome.static.action.php on line 117
            
            Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/html/manager/actions/static/welcome.static.action.php on line 124
            
            Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/html/manager/actions/static/welcome.static.action.php on line 132
            
            Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/html/manager/actions/static/welcome.static.action.php on line 139
            
            Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/html/manager/actions/static/welcome.static.action.php on line 146
            
            Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/html/manager/actions/static/welcome.static.action.php on line 155
            
            Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/html/manager/actions/static/welcome.static.action.php on line 162
            
            Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/html/manager/actions/static/welcome.static.action.php on line 169


            :’( :’(
              Free MODx Graphic resources and Templates www.tattoocms.it
              -----------------------------------------------------

              MODx IT  www.modx.it
              -----------------------------------------------------

              bubuna.com - Web & Multimedia Design
            • Did you run the Installer when you did the upgrade? Looks like you’ve got database issues.
                Studying MODX in the desert - http://sottwell.com
                Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                Join the Slack Community - http://modx.org
                • 2762
                • 1,198 Posts
                Quote from: sottwell at Oct 20, 2005, 01:19 PM

                Did you run the Installer when you did the upgrade? Looks like you’ve got database issues.

                Yes! Database issues : manually replaced modx_log_* (access, user, visitors etc...) and solved the problem...i dont understand what has happened.. but now works;)
                Thanks Susan - Thank a lot smiley
                  Free MODx Graphic resources and Templates www.tattoocms.it
                  -----------------------------------------------------

                  MODx IT  www.modx.it
                  -----------------------------------------------------

                  bubuna.com - Web & Multimedia Design
                • Sorry I took you the long way around, but I’m glad you finally got it straightened out.
                    Studying MODX in the desert - http://sottwell.com
                    Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                    Join the Slack Community - http://modx.org
                    • 24981
                    • 109 Posts
                    Hi,

                    I am getting almost identical errors as this post (with new line numbers). I have ModX TP3x2.

                    Errors on front are:
                    MODx encountered the following error while attempting to parse the requested resource:
                    « PHP Parse Error »
                     
                    PHP error debug
                      Error: 	Cannot modify header information - headers already sent by (output started at /home/mail2gro/public_html/manager/includes/document.parser.class.inc.php:439)	 
                      Error type/ Nr.: 	Warning - 2	 
                      File: 	/home/mail2gro/public_html/manager/includes/document.parser.class.inc.php	 
                      Line: 	399	 
                      Line 399 source: 	header($header);


                    And errors in manager are:
                    Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/mail2gro/public_html/manager/actions/static/document_data.static.action.php on line 248
                    
                    Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/mail2gro/public_html/manager/actions/static/document_data.static.action.php on line 255


                    I haven’t done an install. In fact, I don’t think I’ve changed anything recently in the site... Re the previous solution -

                    ...manually replaced modx_log_* (access, user, visitors etc...)
                    did you clear those particular tables? ..
                    Richard

                      • 24981
                      • 109 Posts
                      All Ok. Fixed it. Used PHPmyAdmin to repair the table.


                      Table Op Msg_type Msg_text
                      mail2gro_name.modx31_log_access repair warning Number of rows changed from 8868 to 8869
                      mail2gro_name.modx31_log_access repair status OK

                      I’ll need to log this as a bug...as I haven’t done anything fresh on the admin of the site for a while, except starting the process of setting up a Secure Area.

                      Richard