Jump to content
php.lv forumi

Varat palīdzet! Class ''Model" not found


Recommended Posts

Sveiki, kas varetu but par problēmu?

 

7ed8056828874f37b2b62d2d9bc25d2d.png


 

<?php 



include './application/model/model.php'; 
include './application/config/system.php'; 
include './application/config/language.lv.php'; 




$class = new Model(); 
Edited by Nike22
Link to post
Share on other sites

Mans minējums:

Localhost visticamāk ir Windows;

LSPmanagger ir linux;

---> Visticamāk Faila/Klases "case" nesakrīt.

Localhost visticamāk ir Windows;---- nevienmer uz windows, var ari but uz  linux,macitosh

LSPmanagger ir linux;----- es tadu paneli nezinu, paldies  kad  patieci  bus jacako  :D

---> Visticamāk Faila/Klases "case" nesakrīt.---- sita neviens  klasi neraksta

 

Link to post
Share on other sites

OP, iekomentē model.php saturu, vismaz līdz class Model definīcijai. Aizstāj include ar require_once un ieslēdz error_reporting ar visām noticēm.

 

Localhost visticamāk ir Windows;---- nevienmer uz windows, var ari but uz  linux,macitosh

LSPmanagger ir linux;----- es tadu paneli nezinu, paldies  kad  patieci  bus jacako  :D
---> Visticamāk Faila/Klases "case" nesakrīt.---- sita neviens  klasi neraksta
 

 

"jaceko" Tev 3. klases Latviešu valodas grāmata. Ambīlis.

Link to post
Share on other sites

> Kad uzlieku uz Ispmanager panela neiet. :(

 

> > LSPmanagger ir linux;

> es tadu paneli nezinu, paldies kad patieci bus jacako :D

 

Kkas neiet kopā.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...