Fatal Error on pages *only* when logged in. Path / Global Clipboard issue, I think.
Permalink
This is weird. If I am logged in as the admin on certain pages, I get this error....
Fatal error: Call to a member function getBlockTypeHandle() on a non-object in /home/herm22/public_html/concrete/libraries/block_view_template.php on line 41
If I am *NOT* logged in, there is no error at all. I think the problem is a path issue pertaining to certain pages that are using the GLOBAL CLIPBOARD. It seems to have only affected pages where I pasted from the clipboard.
WHAT CHANGED:
Temporary URI became the domain name.
"67.16.17.198/~herm22" is now "www.mydomainname.com"
This was my original .htaccess file for 67.16.17.198/~herm22
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /~herm22/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule . index.php [L]
</IfModule>
This is my new .htaccess file forhttp://www.mydomainname.com
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule . index.php [L]
</IfModule>
ALSO:
config/site.php file has this line (which was initially necessary when it was 67.16.17.198/~herm22 :
define('URL_REWRITING_ALL', true);
Fatal error: Call to a member function getBlockTypeHandle() on a non-object in /home/herm22/public_html/concrete/libraries/block_view_template.php on line 41
If I am *NOT* logged in, there is no error at all. I think the problem is a path issue pertaining to certain pages that are using the GLOBAL CLIPBOARD. It seems to have only affected pages where I pasted from the clipboard.
WHAT CHANGED:
Temporary URI became the domain name.
"67.16.17.198/~herm22" is now "www.mydomainname.com"
This was my original .htaccess file for 67.16.17.198/~herm22
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /~herm22/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule . index.php [L]
</IfModule>
This is my new .htaccess file forhttp://www.mydomainname.com
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule . index.php [L]
</IfModule>
ALSO:
config/site.php file has this line (which was initially necessary when it was 67.16.17.198/~herm22 :
define('URL_REWRITING_ALL', true);