Nike22 Posted August 21, 2016 Report 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
F3llony Posted August 21, 2016 Report Posted August 21, 2016 Iespējams, ka klase "Model" nav atrasta... Quote
Nike22 Posted August 21, 2016 Author Report Posted August 21, 2016 Iespējams, ka klase "Model" nav atrasta... Nav vainīgs izvadīšanas ceļš? Quote
F3llony Posted August 21, 2016 Report Posted August 21, 2016 Kāds ceļš? Nē. Nezinot kas iekšā katrā no include failiem, var tikai minēt. Quote
ieleja Posted August 21, 2016 Report 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
Kasspars Posted August 21, 2016 Report Posted August 21, 2016 Klase Model iespējams ir namspace'ā Quote
Nike22 Posted August 22, 2016 Author Report Posted August 22, 2016 Klase Model iespējams ir namspace'ā Uz localhost darbojas. Kad uzlieku uz Ispmanager panela neiet. :( Quote
waplet Posted August 23, 2016 Report Posted August 23, 2016 Mans minējums: Localhost visticamāk ir Windows; LSPmanagger ir linux; ---> Visticamāk Faila/Klases "case" nesakrīt. Quote
stream16 Posted August 23, 2016 Report 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
F3llony Posted August 23, 2016 Report 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
daGrevis Posted August 23, 2016 Report 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
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.