Forum for users of JoomlaWatch / ExtraWatch for Joomla, Wordpress, Drupal, Magento, Prestashop

JoomlaWatch / ExtraWatch has following features: live real-time visitor statistics, location of your visitors on a map, blocking of users based on bad word list, front-end counters, click heat map, definition of goals and rules, graphs, directory size monitoring, monitoring of increase of database data in time, nightly email reports, interactive HTML5 chart of traffic flow within your website, SEO report with keyword statistics and keyword position trends

Welcome, Guest
Please Login or Register.    Lost Password?

Warning: main(../../configuration.php): failed to
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Warning: main(../../configuration.php): failed to
#401
Warning: main(../../configuration.php): failed to 8 Years, 10 Months ago Karma: 0
I get this error when i try to select joomlawatch from components menu:

Warning: main(../../configuration.php): failed to open stream: No such file or directory in /home/content/z/z/z/z/html/mysite/components/com_joomlawatch/visits.php on line 14


Fatal error: main(): Failed opening required '../../configuration.php' (include_path='.:/usr/local/lib/php') in /home/content/z/z/z/z//html/mysite/components/com_joomlawatch/visits.php on line 14

Any ideas?<br><br>Post edited by: matto, at: 2008/01/29 02:34
noone u know (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#405
Re:Warning: main(../../configuration.php): failed 8 Years, 10 Months ago Karma: 31
Don't know.. it should work.. it's a standard relative path and you have your configuration.php in the right directory.
I would suggest to use the absoulte path to this configuration.php as:

require($mosConfig_absolute_path.&quot;/configuration.php&quot;); , but unfortunatelly, the $mosConfig_absolute_path variable is defined in this configuration.php itself

Joomla users, any suggestions or experiences with this?
matto (Admin)
Moderator
Posts: 770
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#415
Re:Warning: main(../../configuration.php): failed 8 Years, 10 Months ago  
I have the same problem..

pla help me out

Warning: main(../../globals.php) [function.main]: failed to open stream: No such file or directory in /x/x/x/x/x/x/components/com_joomlawatch/visits.php on line 13

Fatal error: main() [function.require]: Failed opening required '../../globals.php' (include_path='.:/usr/local/lib/php') in /x/x/x/x/x/x/components/com_joomlawatch/visits.php on line 13

Warning: main(../../globals.php) [function.main]: failed to open stream: No such file or directory in /x/x/x/x/x/x/components/com_joomlawatch/visits.php on line 13

Fatal error: main() [function.require]: Failed opening required '../../globals.php' (include_path='.:/usr/local/lib/php') in /x/x/x/x/x/x/components/com_joomlawatch/visits.php on line 13
DLL (Visitor)

The administrator has disabled public write access.
 
#416
Re:Warning: main(../../configuration.php): failed 8 Years, 10 Months ago Karma: 31
Check if there is globals.php in your root directory of Joomla CMS.

Cheers,

Matto
matto (Admin)
Moderator
Posts: 770
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#513
Re:Warning: main(../../configuration.php): failed 8 Years, 8 Months ago Karma: 0
Hi,

I am having the same problem with my install and the files are where they should be.
I am using 1.5 with legacy enabled. When I receive the error I see that the directory path defined in visits.php &amp; stats.php omits several &quot;/&quot; characters in the directory path resulting in the error . This might be because I have several urls hosted under the same account and this install is not the main domain....



Warning: main(/home/content/m/y/sMAINDOMAINhtml_SUBDOMAIN/includes/defines.php): failed to open stream: No such file or directory in /home/content/m/y/s/MAINDOMAIN/html/_SUBDOMAIN/components/com_joomlawatch/stats.php on line 31


Sounds like a great plug - in would love to get fix on this. I can do great QA but not so great with code - so please help
rakwholesale (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#514
Re:Warning: main(../../configuration.php): failed 8 Years, 8 Months ago Karma: 31
Please try to install the new version 1.2.2
matto (Admin)
Moderator
Posts: 770
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#515
Re:Warning: main(../../configuration.php): failed 8 Years, 8 Months ago Karma: 0
hey, thanks for the quick reply! I installed the new file just over an hour
ago... (JoomlaWatch-1.2.2-testing-UnzipFirst) is this the newest version?
rakwholesale (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#516
Re:Warning: main(../../configuration.php): failed 8 Years, 8 Months ago Karma: 31
And this error is in the new version? (1.2.2) Thanks
matto (Admin)
Moderator
Posts: 770
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#518
Re:Warning: main(../../configuration.php): failed 8 Years, 8 Months ago Karma: 0
yes. I installed the new file, tried to run it and received this error.
I am running joomla 1.5 with legacy turned on - and this is the first install of your plug-in. Also, to the best of my knowledge, there is no globals.php in the joomla 1.5 app right? (response to your previous post)
rakwholesale (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#526
Re:Warning: main(../../configuration.php): failed 8 Years, 8 Months ago Karma: 0
I also get a simular error o my hosted site. Confirmed that files exist in the location.


Warning: main(/home/content/c/d/ecdelasauxhtml/includes/defines.php): failed to open stream: No such file or directory in /home/content/c/d/e/cdelasaux/html/components/com_joomlawatch/stats.php on line 31

This is of coarse a hosted site
cordel (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#527
Re:Warning: main(../../configuration.php): failed 8 Years, 8 Months ago Karma: 0
I hacked this to somewhat work, Visitors show up as bots but atleast it doing something.
Changed the following:

stats.php
Code:

for ($i = 0; $i &lt; sizeof($dirnameExploded) - $omitLast; $i++) {
$jBasePath .= $dirnameExploded[$i];
# if ($i &lt;= $omitLast+2)
$jBasePath .= DIRECTORY_SEPARATOR;
}
define('JPATH_BASE', $jBasePath);
define('DS', DIRECTORY_SEPARATOR);
if (@file_exists(JPATH_BASE . DIRECTORY_SEPARATOR . &quot;globals.php&quot;«»))
@define('JOOMLAWATCH_JOOMLA_15', 0);
else
@define('JOOMLAWATCH_JOOMLA_15', 1);

if (JOOMLAWATCH_JOOMLA_15) {
require_once (JPATH_BASE . 'includes' . DS . 'defines.php');
require_once (JPATH_BASE . 'includes' . DS . 'framework.php');
require_once (JPATH_BASE . 'libraries' . DS . 'joomla' . DS . 'application' . DS . 'module' . DS . 'helper.php');


visits.php
Code:

$omitLast = 2;
for ($i = 0; $i &lt; sizeof($dirnameExploded) - $omitLast; $i++) {
#for ($i = 0; $i &lt; sizeof($dirnameExploded) - 2 ; $i++) {
$jBasePath .= $dirnameExploded[$i];
# if ($i &lt;= $omitLast=+2)
$jBasePath .= DIRECTORY_SEPARATOR;
}
define('JPATH_BASE', $jBasePath);
define('DS', DIRECTORY_SEPARATOR);
if (@file_exists(JPATH_BASE . DIRECTORY_SEPARATOR . &quot;globals.php&quot;«»))
@define('JOOMLAWATCH_JOOMLA_15', 0);
else
@define('JOOMLAWATCH_JOOMLA_15', 1);

if (JOOMLAWATCH_JOOMLA_15) {
require_once (JPATH_BASE . 'includes' . DS . 'defines.php');
require_once (JPATH_BASE . 'includes' . DS . 'framework.php');
require_once (JPATH_BASE . 'libraries' . DS . 'joomla' . DS . 'application' . DS . 'module' . DS . 'helper.php');


Obviously this is not compleate as it needs adjustment through out the files, also this is a hack and there should be a cleaner methode to define the path. I just wanted to see something work before turning in

Cheers,
Corey
cordel (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#529
Re:Warning: main(../../configuration.php): failed 8 Years, 8 Months ago Karma: 31
Please try 1.2.3, there are some new features as well.
matto (Admin)
Moderator
Posts: 770
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#541
Re:Warning: main(../../configuration.php): failed 8 Years, 8 Months ago Karma: 0
I was happy to try your new version as I didn't want to have to hard code work arounds -(thanks for the previous poster) however here are the problems I am now faced with:

when I tried to install the com_joomlawatch.zip from version JoomlaWatch-1.2.4-UnzipFirst, my admin interface returned a blank page.

I tried to uninstall the component because I figure something was wrong with the file or the install. here is the error I received upon uninstall:


* JInstaller::install: ERRORXMLSETUP
* If this Extension has created tables or installed additional files, they must be removed manually.



I am running Joomla 1.5 with legacy turned ON

How do I remove whatever was left from the erroneous install?

thanks
rakwholesale (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1