Jump to content


These Forums Are Now Read-Only


For TubePress support, please post a question here or open a support ticket and we will be glad to assist.


Photo

Class Error


  • Please log in to reply
7 replies to this topic

#1 BastionConquers

BastionConquers

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 28 May 2013 - 07:40 PM

Literally no idea what's causing this...

 

Fatal error: Class 'ehough_iconic_impl_compiler_CheckCircularReferencesPass' not found in /home/bastionc/public_html/tube/vendor/ehough/iconic/src/main/php/ehough/iconic/impl/compiler/PassConfig.php on line 84

 

 

And the array unchanged:

 

 $this->optimizationPasses = array(
 
            new ehough_iconic_impl_compiler_ResolveParameterPlaceHoldersPass(),
            new ehough_iconic_impl_compiler_CheckDefinitionValidityPass(),
            new ehough_iconic_impl_compiler_ResolveInvalidReferencesPass(),
            new ehough_iconic_impl_compiler_AnalyzeServiceReferencesPass(true),
            new ehough_iconic_impl_compiler_CheckCircularReferencesPass(),
        );

 

 

So I'm curious to know what's going on.



#2 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 29 May 2013 - 04:30 AM

Bastion,

 

Please post or PM a link to your site so we can better assist you.

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#3 BastionConquers

BastionConquers

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 29 May 2013 - 10:34 PM

Bastion,

 

Please post or PM a link to your site so we can better assist you.

Thanks!

The current placement is:

 

http://bastionconquers.net/tube



#4 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 30 May 2013 - 12:07 AM

Please add the following line to the top of shows3upgrade.php (just after the $tubepress_base_url line):

ini_set('display_errors', 1);

That should display the error to the screen to give us an idea of what's happening underneath the hood.

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#5 BastionConquers

BastionConquers

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 30 May 2013 - 12:11 AM

I'm sorry, I forgot to give you the test file I made.

 

http://bastionconque...t/tube/test.php



#6 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 31 May 2013 - 02:44 AM

Bastion,

 

Please ensure that all files are properly uploaded.

 

It appears that your Tubepress install is unable to find this file: CheckCircularReferencesPass.php

 

Let me know once you've checked that all files are present and if needed, I will continue troubleshooting.

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#7 BastionConquers

BastionConquers

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 31 May 2013 - 04:20 PM

Bastion,

 

Please ensure that all files are properly uploaded.

 

It appears that your Tubepress install is unable to find this file: CheckCircularReferencesPass.php

 

Let me know once you've checked that all files are present and if needed, I will continue troubleshooting.

 

Thanks!

 

I'm sorry but I'm not reading what you're reading apparently...

 

Fatal error: Class 'ehough_iconic_impl_compiler_CheckCircularReferencesPass' not found in /home/bastionc/public_html/tube/vendor/ehough/iconic/src/main/php/ehough/iconic/impl/compiler/PassConfig.php on line 84

 

^ From that I get that it can't find the class 'ehough_whatever' IN that file, not that it can't find said file. The file is there, I've edited it twice to do some testing, so I know it's uploaded properly. 

 

Anything else?



#8 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 02 June 2013 - 05:16 PM

Hi,
 

Fatal error: Class 'ehough_iconic_impl_compiler_CheckCircularReferencesPass' not found in [/size]/home/bastionc/public_html/tube/vendor/ehough/iconic/src/main/php/ehough/iconic/impl/compiler/PassConfig.php on line [/size]84

 
This error means that TubePress has attempted to load the PHP class ehough_iconic_impl_compiler_CheckCircularReferencesPass from

/home/bastionc/public_html/tube/vendor/ehough/iconic/src/main/php/ehough/iconic/impl/compiler/CheckCircularReferencesPass.php

But for some reason, it can't read that file. Most of the time these means a corrupt TubePress installation (in which case a simple re-install would do the trick), or the filesystem permissions on your webserver are too restrictive (less likely, but it happens).
 
So I suppose my questions at this point are

  • Can you verify that the file at
    /home/bastionc/public_html/tube/vendor/ehough/iconic/src/main/php/ehough/iconic/impl/compiler/CheckCircularReferencesPass.php
    
    exists and is readable?
     
  • Have you tried a re-install of TubePress?
     


  • The file is there, I've edited it twice to do some testing, so I know it's uploaded properly.


    By "file" can I assume that you mean PassConfig.php?

If you're feeling slightly adventurous, you could also try to install TubePress 3.1.0.RC1, which includes a number of bug fixes and performance improvements.

 

Let us know. Thanks!