Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Fatal error: Class 'NedisomschrijvingClassView' no 09 Feb 2014 16:43 #12172

  • aria
  • aria's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 16
  • Thank you received: 3
Fatal error: Class 'NedisomschrijvingClassView' not found


Solution:
\administrator\components\com_nedisomschrijving\classes\loader.php
line 173:
$relativePath = C:/www/shops/administrator/components/com_nedisomschrijving\classes\controller

problem is that the path have both / and \
so the explode does not work fine

solution:
add line 174:
$relativePath = str_replace('\\',DS,$relativePath);

Please Log in or Create an account to join the conversation.

Fatal error: Class 'NedisomschrijvingClassView' no 12 Feb 2014 20:09 #12188

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
You are using PC.

The DS should be '\'
The problem comes from the parent path. Not the funciton.

I will try to reproduce it.
Are you sure it comes from this function ?

I think to code you propose it fixing something wrong, but I would prefer to know WHY...
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Fatal error: Class 'NedisomschrijvingClassView' no 12 Feb 2014 20:12 #12189

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
DS = DIRECTORY_SEPARATOR.


Can you dump this var and tell me...

I think it is not a cook problem.
Does somebody else have such problem ?
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Fatal error: Class 'NedisomschrijvingClassView' no 13 Feb 2014 19:25 #12192

  • aria
  • aria's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 16
  • Thank you received: 3
Yes, correct, it was the definition of DS.In an other component it was hard coded as '/'. I changed it in DIRECTORY_SEPARATOR and the probled is solved.
thanks

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.204 seconds

  I found "cook" two days ago. Played around with it for a day and then within a day got rid of two legacy applications in IBM Lotus Domino Notes and replaced them with "cook". It was really easy. A piece of cake. Actually it was even easier than cooking. Cooking involves more work than developing with "cook". What can I say about "cook"? Great application great price for what it delivers great forum with a lot of information and fast responses active and friendly community fast forward moving development cycle So what should I say "Monsieur Le Cook"? Keep the good work going it will lead to success. Having become a paying member in the words of Edith Piaf may I say ..... non rien de rien ... je ne regrette rien. Vive La France.
FK (JED)
         

Get Started