הרשם שאלות ותשובות רשימת חברים לוח שנה הודעות מהיום

חזור   הוסטס - פורום אחסון האתרים הגדול בישראל > עיצוב גראפי, תכנות על כל שפותיו וקידום ושיווק אתרים > פורום תיכנות

   
|!|

השב
 
כלים לאשכול תצורת הצגה
ישן 13-02-07, 18:39   # 1
Virtual NET
חבר מתקדם
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
הודעות: 743

Virtual NET לא מחובר  

כמה שאלות על מערכת שהכינו עבורי..

לפני שנה בערך קניתי ממישהו מערכת והיו הרבה בעיות אחר כך עם מי שהייתי אמור לפתוח איתו את האתר שלי וכו'..

בכל מקרה יש לי גיבוי של המערכת הבעיה שכשאני מעלה אותה היא נותנת לי שגיאות ואני מנסה לפתור אותן ולא מצליח

יש לי את השגיאות הבאות:

קוד:
Warning:  include() [function.include on line ]: Unable to access ./mysql.php in /home/offmicxster/domains/micxster.off.co.il/public_html/php/domains/animanga.co.il/system/index.php5

Warning:  include(./mysql.php) [function.include on line ]: failed to open stream: No such file or directory in /home/offmicxster/domains/micxster.off.co.il/public_html/php/domains/animanga.co.il/system/index.php5

Warning:  include() [function.include on line ]: Failed opening './mysql.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/offmicxster/domains/micxster.off.co.il/public_html/php/domains/animanga.co.il/system/index.php5

Warning:  include() [function.include on line ]: Unable to access ./functions.php in /home/offmicxster/domains/micxster.off.co.il/public_html/php/domains/animanga.co.il/system/index.php6

Warning:  include(./functions.php) [function.include on line ]: failed to open stream: No such file or directory in /home/offmicxster/domains/micxster.off.co.il/public_html/php/domains/animanga.co.il/system/index.php6

Warning:  include() [function.include on line ]: Failed opening './functions.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/offmicxster/domains/micxster.off.co.il/public_html/php/domains/animanga.co.il/system/index.php6

 on line Notice:  Undefined variable: DB2 in /home/offmicxster/domains/micxster.off.co.il/public_html/php/domains/animanga.co.il/system/index.php16

 on line Fatal error:  Call to a member function query() on a non-object in /home/offmicxster/domains/micxster.off.co.il/public_html/php/domains/animanga.co.il/system/index.php16
      var n=document.getElementById('off_co_il_adv');  if(window != top.window)  {     n.style.display='none';     n.innerHTML=&quot;&quot;;      var e = document.createElement(&quot;script&quot;);     e.src = &quot;http://off.co.il/popup_ad.js&quot;;     e.type=&quot;text/javascript&quot;;     document.getElementsByTagName(&quot;head&quot;)[0].appendChild(e); }   //few cases: if(document.body) {   if(document.body.firstChild)   {       document.body.insertBefore(n,document.body.firstChild);   }  else  {      document.body.appendChild(n);  } } else {     document.write(&quot;<body></body>&quot;);     document.body.appendChild(n); }  n.id='';    _uacct = &quot;UA-243286-1&quot;; urchinTracker();       
Notice:  Undefined variable: m_ip in /home/off1/domains/off.co.il/pre/p.php on line 196

 on line Notice:  Undefined offset:  1 in /home/off1/domains/off.co.il/pre/p.php207
ניסיתי כמה דברים והתוצאה שהגעתי אליה זה רק צמצום של השגיאות

והתוצאה:
קוד:
Warning:  include() [function.include on line ]: Unable to access ./mysql.php in /home/offmicxster/domains/micxster.off.co.il/public_html/php/domains/animanga.co.il/system/index.php5

Warning:  include(./mysql.php) [function.include on line ]: failed to open stream: No such file or directory in /home/offmicxster/domains/micxster.off.co.il/public_html/php/domains/animanga.co.il/system/index.php5

Warning:  include() [function.include on line ]: Failed opening './mysql.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/offmicxster/domains/micxster.off.co.il/public_html/php/domains/animanga.co.il/system/index.php5

 on line Notice:  Undefined variable: DB2 in /home/offmicxster/domains/micxster.off.co.il/public_html/php/domains/animanga.co.il/system/index.php16

 on line Fatal error:  Call to a member function query() on a non-object in /home/offmicxster/domains/micxster.off.co.il/public_html/php/domains/animanga.co.il/system/index.php16
      var n=document.getElementById('off_co_il_adv');  if(window != top.window)  {     n.style.display='none';     n.innerHTML=&quot;&quot;;      var e = document.createElement(&quot;script&quot;);     e.src = &quot;http://off.co.il/popup_ad.js&quot;;     e.type=&quot;text/javascript&quot;;     document.getElementsByTagName(&quot;head&quot;)[0].appendChild(e); }   //few cases: if(document.body) {   if(document.body.firstChild)   {       document.body.insertBefore(n,document.body.firstChild);   }  else  {      document.body.appendChild(n);  } } else {     document.write(&quot;<body></body>&quot;);     document.body.appendChild(n); }  n.id='';    _uacct = &quot;UA-243286-1&quot;; urchinTracker();       
Notice:  Undefined variable: m_ip in /home/off1/domains/off.co.il/pre/p.php on line 196

Notice:  Undefined offset:  1 in /home/off1/domains/off.co.il/pre/p.php on line 207
אני לא יודע מה לעשות, מישהו יכול לעזור? זה חשוב, אם לא סתם הלך לי הכסף =/
  Reply With Quote
ישן 13-02-07, 18:53   # 2
Gal Shafrir
חבר וותיק
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
הודעות: 1,626

Gal Shafrir לא מחובר  

אנחנו לא קוסמים חח, אפשר לקבל את הקוד? איך נדע למה יש את השגיאות!
__________________
בברכה,
גל שפריר - מעצב ומפתח אתרים.

עופר שפריר - במאי, תסריטאי ומפיק.
  Reply With Quote
ישן 13-02-07, 18:56   # 3
Virtual NET
חבר מתקדם
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
הודעות: 743

Virtual NET לא מחובר  

קוד של מה בדיוק? זו מערכת ניהול תוכן, יש הרבה קבצים
  Reply With Quote
ישן 13-02-07, 18:56   # 4
Meir
חבר מתקדם
 
מיני פרופיל
תאריך הצטרפות: Dec 2006
גיל: 33
הודעות: 383

Meir לא מחובר  

קודם כל חסר לך קובץ mysql.php במערכת תחפש תעלה לתיקייה הראשית של האתר ותבדוק אם יש עוד שגיאות
  Reply With Quote
ישן 13-02-07, 19:05   # 5
Virtual NET
חבר מתקדם
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
הודעות: 743

Virtual NET לא מחובר  

תשמע, את הצמצום של השגיאות עשיתי על ידי זה שהעתקתי את הקובץ functions מהתקייה Sources/Drivers מהמערכת IPB (המערכת שבנו לי משולבת ברמה בסיסית עם IPB, למשל מי שנרשם לאתר נרשם אוטומטית לפורום)

ויש לי בתקייה Sources שני קבצים בשם MySQL ו-MySQL2 וניסיתי לשים אותם בתקייה הראשית וזה לא ממש עזר..

עריכה:

העלאתי עוד פעם את הקובץ MySQL מהתקייה שציינתי למעלה ושיניתי את השם רק לאותיות קטנות וזה צמצם את הבעיות לזה:

on line
קוד:
Notice:  Undefined variable: DB2 in /home/offmicxster/domains/micxster.off.co.il/public_html/php/domains/animanga.co.il/system/index.php16

 on line Fatal error:  Call to a member function query() on a non-object in /home/offmicxster/domains/micxster.off.co.il/public_html/php/domains/animanga.co.il/system/index.php16
      var n=document.getElementById('off_co_il_adv');  if(window != top.window)  {     n.style.display='none';     n.innerHTML=&quot;&quot;;      var e = document.createElement(&quot;script&quot;);     e.src = &quot;http://off.co.il/popup_ad.js&quot;;     e.type=&quot;text/javascript&quot;;     document.getElementsByTagName(&quot;head&quot;)[0].appendChild(e); }   //few cases: if(document.body) {   if(document.body.firstChild)   {       document.body.insertBefore(n,document.body.firstChild);   }  else  {      document.body.appendChild(n);  } } else {     document.write(&quot;<body></body>&quot;);     document.body.appendChild(n); }  n.id='';    _uacct = &quot;UA-243286-1&quot;; urchinTracker();       
Notice:  Undefined variable: m_ip in /home/off1/domains/off.co.il/pre/p.php on line 196

 on line Notice:  Undefined offset:  1 in /home/off1/domains/off.co.il/pre/p.php207

Last edited by Virtual NET; 13-02-07 at 19:15..
  Reply With Quote
ישן 13-02-07, 19:17   # 6
BlueNosE
אין כמו ב127.0.0.1
 
BlueNosE's Avatar
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
מיקום: כפ"ס
גיל: 31
הודעות: 4,086

BlueNosE לא מחובר  

יש לבחור בעיה עם אבחנת אותיות קטנות / גדולות כנראה.
נראה לי שגם המשתנה DB2 לא הוגדר טוב.. (אותיות גדולות)
__________________
עומר,
admin [@] rely.co.il

בניית אתרים Rely

סלנג מילון סלנג utter
  Reply With Quote
ישן 13-02-07, 19:21   # 7
Virtual NET
חבר מתקדם
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
הודעות: 743

Virtual NET לא מחובר  

זו השורת קוד שדובר עליה בשגיאה:

קוד:
$ccc = $DB2->query("SELECT * FROM bycsm_config LIMIT 1");

ויכול להיות שיש קובץ קונפיג כלשהו וצריך לשנות שם את הפרטי התחברות למסד וכו'?
כי בהתחלה כל הקבצים היו על שרת אחר
  Reply With Quote
ישן 13-02-07, 19:26   # 8
BlueNosE
אין כמו ב127.0.0.1
 
BlueNosE's Avatar
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
מיקום: כפ"ס
גיל: 31
הודעות: 4,086

BlueNosE לא מחובר  

מאוד יכול להיות, אבל זה לא אמור להיות קשור לזה.. תבדוק את mysql.php אולי יש שם משהו.
__________________
עומר,
admin [@] rely.co.il

בניית אתרים Rely

סלנג מילון סלנג utter
  Reply With Quote
ישן 13-02-07, 19:26   # 9
Meir
חבר מתקדם
 
מיני פרופיל
תאריך הצטרפות: Dec 2006
גיל: 33
הודעות: 383

Meir לא מחובר  

תבדוק אם הוא קרא למחלקה תחפש משהו כזה בקובץ

PHP קוד:
$DB2 = new mySQL
  Reply With Quote
ישן 13-02-07, 19:26   # 10
KaMiKaZy
חבר מתקדם
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
הודעות: 551

KaMiKaZy לא מחובר  

conf_global בדף הראשי תשנה שם
  Reply With Quote
השב

חברים פעילים הצופים באשכול זה: 1 (0 חברים ו- 1 אורחים)
 


חוקי פירסום
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is מופעל
סמיילים הם מופעל
[IMG] קוד מופעל
קוד HTML מכובה

קפיצה לפורום


כל הזמנים הם GMT +2. הזמן כעת הוא 00:06.

מופעל באמצעות VBulletin גרסה 3.8.6
כל הזכויות שמורות ©
כל הזכויות שמורות לסולל יבוא ורשתות (1997) בע"מ