Jump to content

Recommended Posts

Hi all, I have this problem with my coding, could anyone perhaps tell me whats going wrong?

 

This is the error :

 

Warning: include_once(language//global.lang.php) [function.include-once]: failed to open stream: No such file or directory in /home/bendemic/public_html/includes/init.php on line 36

 

Warning: include_once() [function.include]: Failed opening 'language//global.lang.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bendemic/public_html/includes/init.php on line 36

 

Warning: include_once(language//category.lang.php) [function.include-once]: failed to open stream: No such file or directory in /home/bendemic/public_html/includes/init.php on line 37

 

Warning: include_once() [function.include]: Failed opening 'language//category.lang.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bendemic/public_html/includes/init.php on line 37

 

Warning: include_once(language//site.lang.php) [function.include-once]: failed to open stream: No such file or directory in /home/bendemic/public_html/includes/init.php on line 41

 

Warning: include_once() [function.include]: Failed opening 'language//site.lang.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bendemic/public_html/includes/init.php on line 41

 

Warning: include_once(language//categories_array.php) [function.include-once]: failed to open stream: No such file or directory in /home/bendemic/public_html/includes/init.php on line 47

 

Warning: include_once() [function.include]: Failed opening 'language//categories_array.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bendemic/public_html/includes/init.php on line 47

 

A Mysql error has occurred while running the script:

 

    * The query you are trying to run is invalid

    * Mysql Error Output: Unknown column 'exceeded_balance_email' in 'where clause'

    * SQL Query: SELECT user_id FROM probid_users WHERE active=1 AND balance>max_credit AND payment_mode=2 AND exceeded_balance_email=0

Link to comment
https://forums.phpfreaks.com/topic/194411-warning-include_once-error/
Share on other sites

You have got 4 similar error messages on 4 different lines in your program. They each show an invalid path statement that contains //. You would need to look at  the lines of code mentioned in the error messages and try to determine why that invalid path is being produced. Either the path syntax is exactly what is shown in the error and needs to be corrected by removing one of the /'s or there is a variable or a defined constant being used in between the two // and the variable or defined constant is empty or does not exist and you would need to determine why it is empty or does not exist and correct that problem so that it does supply the expected value in the code.

ok guys, thanks for your input

I managed to solve the include_once problem.

Now I just have this error left :

 

A Mysql error has occurred while running the script:

 

    * The query you are trying to run is invalid

    * Mysql Error Output: Unknown column 'exceeded_balance_email' in 'where clause'

    * SQL Query: SELECT user_id FROM probid_users WHERE active=1 AND balance>max_credit AND payment_mode=2 AND exceeded_balance_email=0

 

Which has probably to do with something in the DB, right  ?

I am fairly new to php and mysql but i do have enough knowledge to work my way around, sometimes with some help like from you fellow members.

 

I tried using search in myphpadmin for exceeded_balance_email in the DB i'm using but it didn't turn up any results

  • 2 weeks later...

ok guys, thanks for your input

I managed to solve the include_once problem.

Now I just have this error left :

 

A Mysql error has occurred while running the script:

 

    * The query you are trying to run is invalid

    * Mysql Error Output: Unknown column 'exceeded_balance_email' in 'where clause'

    * SQL Query: SELECT user_id FROM probid_users WHERE active=1 AND balance>max_credit AND payment_mode=2 AND exceeded_balance_email=0

 

Which has probably to do with something in the DB, right  ?

I am fairly new to php and mysql but i do have enough knowledge to work my way around, sometimes with some help like from you fellow members.

 

I tried using search in myphpadmin for exceeded_balance_email in the DB i'm using but it didn't turn up any results

 

hello! i have same problem, what was solution? regards, im

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.