craigh / Downloads

Remake of the old PN Downloads module
11 stars 3 forks source link

Fatal error after upgrade to 3.1.3 #26

Open rgasch opened 12 years ago

rgasch commented 12 years ago

After upgrading from 3.0.0 (?) to 3.1.3 I get the following fatal error when attempting to view index.php?module=Downloads&type=user&func=view&lang=en&category=2

Before you ask, yes I am on core version 1.3.3.

Fatal error: Call to undefined method Downloads_Entity_Categories::get0() in /var/www/html/projects/BP/lib/Zikula/EntityAccess.php on line 45 Call Stack

Time Memory Function Location

1 0.0000 235240 {main}( ) ../index.php:0 2 0.1787 7003208 ModUtil::func( ) ../index.php:78 3 0.1787 7003336 ModUtil::exec( ) ../ModUtil.php:1161 4 0.1890 7090408 call_user_func ( ) ../ModUtil.php:1082 5 0.1890 7090440 Downloads_Controller_User->view( ) ../ModUtil.php:1082 6 0.3306 8206184 Zikula_View->fetch( ) ../User.php:95 7 0.3309 8208464 Zikula_View->_fetch( ) ../View.php:724 8 0.3319 8363104 include( '/var/www/html/projects/BP/ztemp/view_compiled/Downloads/user/view--t_BPMaster-l_en.php' ) ../View.php:2827 9 0.3526 8414184 Zikula_EntityAccess->offsetGet( ) ../View.php:49

craigh commented 12 years ago

I cannot replicate this error. It works in my setup.

rgasch commented 12 years ago

OK, I just deleted all the Downloads module files and re-copied the new version of the module and the error persists.Lets see if upgrading to ZK 1.3.4 fixes it. If not, I'll be in touch ...

Greetings/Thanks R

On Thu, Oct 4, 2012 at 4:22 AM, Craig Heydenburg notifications@github.comwrote:

I cannot replicate this error. It works in my setup.

— Reply to this email directly or view it on GitHubhttps://github.com/craigh/Downloads/issues/26#issuecomment-9128712.

craigh commented 11 years ago

@rgasch anything happen with this?

rgasch commented 11 years ago

No, the error still persists; I've taken a look but I have no idea how to solve it. Can you help?

Greetings/Thanks R

On Sun, Jan 6, 2013 at 2:04 PM, Craig Heydenburg notifications@github.comwrote:

@rgasch https://github.com/rgasch anything happen with this?

— Reply to this email directly or view it on GitHubhttps://github.com/craigh/Downloads/issues/26#issuecomment-11928085.

craigh commented 11 years ago

It is difficult without being able to see it. Do you have a reproducible case? It sounds like the proxy class isn't being created like it should. Or not being used. Check ztemp/doctrinemodels/CGDownloads_Entity_Categories.php for existence.

you also might try upgrading to the current github pull as opposed to last release. At least on a test site.

rgasch commented 11 years ago

I will try your suggestion (hopefully this coming week), if that doesn't solve it, I'll create a downloadable reproducible case for you.

Greetings/Thanks Robert

On Sun, Jan 6, 2013 at 11:05 PM, Craig Heydenburg notifications@github.comwrote:

It is difficult without being able to see it. Do you have a reproducible case? It sounds like the proxy class isn't being created like it should. Or not being used. Check ztemp/doctrinemodels/CGDownloads_Entity_Categories.php for existence.

you also might try upgrading to the current github pull as opposed to last release. At least on a test site.

— Reply to this email directly or view it on GitHubhttps://github.com/craigh/Downloads/issues/26#issuecomment-11935138.