Menu

script error: [08-Sep-2022 12:57:13 UTC] PHP Fatal error: require(): Failed opening required './localization//localized.chat.php' (include_path='.:/opt/cpanel/ea-php72/root/usr/share/pear') in /home/electron/public_html/cab/lib/index.lib.php on line 106

Help
2022-09-09
2022-09-13
  • Frank Major

    Frank Major - 2022-09-09

    I have installed phpMyChat and get this error

    08-Sep-2022 12:57:13 UTC] PHP Fatal error: require(): Failed opening required './localization//localized.chat.php' (include_path='.:/opt/cpanel/ea-php72/root/usr/share/pear') in /home/electron/public_html/cab/lib/index.lib.php on line 106

    when I run the
    Frontend
    https://electronic-soft.com/cab/

    Can you help to correct the script.?

    thank you

    Frank

     
    • Ciprian Murariu

      Ciprian Murariu - 2022-09-10

      Hi Frank,
      I suppose the installer went through with no errors? If so, cqn you check if there is a row saved in your c_config table? I suspect the database was not correctly loaded during installer.

       
  • Frank Major

    Frank Major - 2022-09-12

    Hi Ciprian

    I have attached the content of c_config table.
    My admin does not know, if any of it belongs to phpMyChat.

    I have attached his screen shot.

    May be you can recognize something.

    If I remember rightly, the bot seem to be new.
    Maybe you can remove it, if it will not work on my server.

    I had a version of phpMyChat. working on my server back in about the year 2014, but I removed it and now I would like to have it back again.

    Thank You
    Frank

     
    • Ciprian Murariu

      Ciprian Murariu - 2022-09-12

      As I suspected, the table c_config was not created/imported in the database (during the installer). This is a new bug I will have to hunt into, but I would need some error_log from the installer process, if any was saved.

      Anyway, the fix is to go for the manual creation of the table and one line insert, using phpmyadmin and "c_config" section from your install/manual installation/manual_new_install.txt

      Contact me privately if you need more guidance.
      Thanks!
      Ciprian

       
  • Frank Major

    Frank Major - 2022-09-13

    Hi Ciprian,

    I have installed phpMy Chat again so that I could get an error log.

    http://electronic-soft.com/talker/

    I can only use PHP 7.4, because I have other things running that seem to have that version recorded internally.

    I have attached the latest error log.

    I have created a new database by hand, but at this time I can not access it, due to an unknown error, that phpMyAdmin seem to thing comes from http and or https. I have both.

    I have contacted my admin about it.

    That however, does not seem to be the problem, because other PHP programs work.

    I found this: "
    define("C_DB_NAME", 'electron_C.......'); // Logical database name on that server (most common like: cpanelusername_databasename)
    define("C_DB_USER", 'electron_C.......'); // Database username (most common like: cpanelusername_username)
    define("C_DB_PASS", '&81l'); // Database user's

    I am wandering what the "&" could mean, because I thought only the "-" was allowed in database names and passwords.

    I am now trying to install the phpMyChat on another server:
    The phpAMyAdmin seems to work, but which tables should I create and how many fields and what type of fields should they have. should they have.

    I am using "mysql" DB type.

    The whole thing has esculated, but if you can help please contact me at:

    esoft56@gmail.com

    Thank you
    Frank

     
  • Ciprian Murariu

    Ciprian Murariu - 2022-09-13

    I emailed you.
    Ciprian

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.