Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > Bugs > Topic : Open Web Analytics shows "failed to open stream"



Normal Mode | Print  

 Open Web Analytics shows "failed to open stream", A bug appears on OWA when installed from Softaculous (6 Replies, Read 186620 times)
need
Group: Member
Post Group: Newbie
Posts: 3
Status:
I installed Open Web Analytics 1.6.8 with Softaculous about 2 days ago and installed the suggested code from its panel on a test page. But it didn't count my visits.

The HTML/JS code didn't show any errors to hint what was wrong. As soon as I added PHP code, it started showing:

Code

Warning: require_once(/home/exampleusername/public_html/path/to/owa/vendor/autoload.php): failed to open stream: No such file or directory in /home/exampleusername/public_html/path/to/owa/modules/base/classes/browscap.php on line 20

Fatal error: require_once(): Failed opening required '/home/exampleusername/public_html/path/to/owa/vendor/autoload.php' (include_path='.:/opt/cpanel/ea-php72/root/usr/share/pear') in /home/exampleusername/public_html/path/to/owa/modules/base/classes/browscap.php on line 20


The OWA GitHub releases page explicitly suggests that using Composer is necessary:

Quote

NOTE: As of this release you must install and run Composer to download dependencies when checking out code from GitHub. ...


But the Softaculous install didn't have "vendor/autoload.php", so it didn't work. I copied a "vendor" directory from a release version I downloaded, and it still showed some error. So I deleted my old site entry from OWA panel and then re-added it. Then added the new code on both HTML and PHP page and it worked!

So I think having the "vendor" directory is necessary for it to work.
IP: --   


Threads
 need   Open Web Analytics shows "failed to open stream", A bug appears on OWA when installed from Softaculous (6 Replies, Read 186620 times)
    |--  Brijesh   Hi, Thank you...   on May 7, 2020, 4:12 am
    |--  punit   Hi, We have...   on May 8, 2020, 9:56 am
    |--  need   Hi, Thank you...   on May 8, 2020, 2:19 pm
    |--  punit   Hi, CRON should...   on May 9, 2020, 3:55 am
    |--  need   Hi, CRON should...   on May 16, 2020, 1:31 am
    |--  Brijesh   Hi, Glad to...   on May 21, 2020, 4:54 am

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
2 guests, 0 users.


All times are GMT. The time now is April 19, 2024, 10:51 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.043