Welcome, Guest
Username: Password: Remember me

TOPIC: error message

error message 03 Dec 2015 12:43 #13703

  • vieuxcampus
  • vieuxcampus's Avatar
  • Offline
  • New Member
  • Posts: 7
  • Thank you received: 1
  • Karma: 0
hello,
I just added 2 date fields to my component. Installing the new version on my localhost gives an error message which tells this:
Fatal error: Class 'ProgrammesClassView' not found in C:\wamp\www\administrator\components\com_programmes\views\cpanel\view.html.php on line 32
I'm on joomla 3.4.3 and php 5.5.12
thanks for help
The administrator has disabled public write access.

error message 03 Dec 2015 13:21 #13707

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Thank you for giving your component name (without needing to ask you, lol)
I tried your component and it works for me.
It works also in sandbox.


> Does the other pages work ?
> Do you have forks ?
> Check the presence of : classes/view/view.php

If 'NO' to all previous question :
So then it can be a 'auto-loader' issue. Caused by the name.
Try to include 'classes/view/view.php' manually in the loader of your component.

I am very interrested by this because I didn't changed anything there. So it seems to be a special case.
It can also be a mistake from me because I uploaded a fix yesterday, so it could be collateral issue.

Please tell me more about what you find. And if you have others question, please ask.
Coding is now a piece of cake
The administrator has disabled public write access.

error message 03 Dec 2015 13:55 #13709

  • vieuxcampus
  • vieuxcampus's Avatar
  • Offline
  • New Member
  • Posts: 7
  • Thank you received: 1
  • Karma: 0
This message comes up when installing the component and it is not possible to go further on. I do not have any acces to the component then.
The only difference between this component and the previous one (which works fine) is the addition of 2 date type fields.
Concerning your questions:
no forks,
all the pages of this joomla site work locally
classes/view/view.php is present
regards
The administrator has disabled public write access.

error message 03 Dec 2015 14:22 #13710

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Did you checked presence of classes/view/view.php inside the archive ?

Really strange.
After install, your files might be there, even if you get the message. Check the component folder : administrator\components\com_programmes\

Because this file is required for View, so it is executing it from installed files.
The error proves it, because it is raised from your component, not from Joomla install.
Coding is now a piece of cake
The administrator has disabled public write access.

error message 03 Dec 2015 19:45 #13727

  • vieuxcampus
  • vieuxcampus's Avatar
  • Offline
  • New Member
  • Posts: 7
  • Thank you received: 1
  • Karma: 0
this file is present in the archive.
And in the right directory too. The error message I get tells there is an error at line 32 of this view.php. (see first post)
The administrator has disabled public write access.

error message 03 Dec 2015 20:01 #13728

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
I downloaded your component and it works for me.
Joomla latest version ? 3.4.x ?

I think you should consider that there is a problem in your Joomla install.
The classes are loaded automatically trough the auto-loader. (JLoader)

It is maybe an override somewhere or I don't know, wich is causing the problem.
In case, try to force the loading of the class file in the loader.php. (not forkable at the moment)
TIP: You can fork your main helper, and include extra files there (not recommended, but possible if you want to write in a fork)

Try on a fresh install of Joomla.
Coding is now a piece of cake
The administrator has disabled public write access.

error message 03 Dec 2015 21:31 #13730

  • vieuxcampus
  • vieuxcampus's Avatar
  • Offline
  • New Member
  • Posts: 7
  • Thank you received: 1
  • Karma: 0
Finally, I got it to work changing the loader to legacy !!!
I don't know why but the main thing is that it works now !!
thanks for the fast and efficient support
with my best regards
The administrator has disabled public write access.
The following user(s) said Thank You: koenvdz

error message 27 Jan 2016 18:59 #13784

  • koenvdz
  • koenvdz's Avatar
  • Offline
  • Junior Member
  • Posts: 24
  • Thank you received: 2
  • Karma: 0
I had the same problem installing a new version of my project.so this was not a standalone case I did use legacy mode and now it works again.

Joomla 3.4.8
cook 2.8 + legacy worked
Koen
The administrator has disabled public write access.

error message 30 Jan 2016 09:50 #13789

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
This is really strange.
Can you tell me wich project, please ?
So I will try to understand.
Coding is now a piece of cake
The administrator has disabled public write access.

error message 31 Jan 2016 16:45 #13793

  • vieuxcampus
  • vieuxcampus's Avatar
  • Offline
  • New Member
  • Posts: 7
  • Thank you received: 1
  • Karma: 0
hello,
the project name is Programmes.
thanks for investigating
regards
The administrator has disabled public write access.
Time to create page: 0.070 seconds

Get Started