Nike22 Posted August 21, 2016 Report Share Posted August 21, 2016 (edited) Sveiki, kas varetu but par problēmu? <?php include './application/model/model.php'; include './application/config/system.php'; include './application/config/language.lv.php'; $class = new Model(); Edited August 21, 2016 by Nike22 Quote Link to comment Share on other sites More sharing options...
F3llony Posted August 21, 2016 Report Share Posted August 21, 2016 Iespējams, ka klase "Model" nav atrasta... Quote Link to comment Share on other sites More sharing options...
Nike22 Posted August 21, 2016 Author Report Share Posted August 21, 2016 Iespējams, ka klase "Model" nav atrasta... Nav vainīgs izvadīšanas ceļš? Quote Link to comment Share on other sites More sharing options...
F3llony Posted August 21, 2016 Report Share Posted August 21, 2016 Kāds ceļš? Nē. Nezinot kas iekšā katrā no include failiem, var tikai minēt. Quote Link to comment Share on other sites More sharing options...
ieleja Posted August 21, 2016 Report Share Posted August 21, 2016 tas dubultais slešs pirms "index.php" izskatās aizdomīgi - nav tu bijis kāds mainīgais, kas tagad ir bez vērtības? Quote Link to comment Share on other sites More sharing options...
Kasspars Posted August 21, 2016 Report Share Posted August 21, 2016 Klase Model iespējams ir namspace'ā Quote Link to comment Share on other sites More sharing options...
Nike22 Posted August 22, 2016 Author Report Share Posted August 22, 2016 Klase Model iespējams ir namspace'ā Uz localhost darbojas. Kad uzlieku uz Ispmanager panela neiet. :( Quote Link to comment Share on other sites More sharing options...
waplet Posted August 23, 2016 Report Share Posted August 23, 2016 Mans minējums: Localhost visticamāk ir Windows; LSPmanagger ir linux; ---> Visticamāk Faila/Klases "case" nesakrīt. Quote Link to comment Share on other sites More sharing options...
stream16 Posted August 23, 2016 Report Share Posted August 23, 2016 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 Quote Link to comment Share on other sites More sharing options...
F3llony Posted August 23, 2016 Report Share Posted August 23, 2016 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. Quote Link to comment Share on other sites More sharing options...
daGrevis Posted August 23, 2016 Report Share Posted August 23, 2016 > Kad uzlieku uz Ispmanager panela neiet. :( > > LSPmanagger ir linux; > es tadu paneli nezinu, paldies kad patieci bus jacako :D Kkas neiet kopā. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.