English (United Kingdom)
Jms Multi Site, formerly joomla multisite.
Create, share multiple joomla sites in few clicks !
Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

Welcome, Guest
Please Login or Register.    Lost Password?

Repost of error messages issue per slave ext insta
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Repost of error messages issue per slave ext insta
#12309
Repost of error messages issue per slave ext insta 9 Years, 4 Months ago Karma: 0
Hi Edwin,

I tried to post this last week, but I guess I should have made the error text into code.

Here it is. I'm not sure what caused it or how to resolve it, though I have been installing slave extensions into the master.

Thanks,
Kimo

Code:

Warning: fopen(/home/my_account/public_html/network/logs/geoloc.php): failed to open stream: No such file or directory in /home/my_account/domains/master.com/subdomains/network/public_html/includes/multisites_geoloc.php on line 615

Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/my_account/domains/master.com/subdomains/network/public_html/includes/multisites_geoloc.php on line 618

Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/my_account/domains/master.com/subdomains/network/public_html/includes/multisites_geoloc.php on line 619

Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/my_account/domains/master.com/subdomains/network/public_html/includes/multisites_geoloc.php on line 625

Warning: fclose() expects parameter 1 to be resource, boolean given in /home/my_account/domains/master.com/subdomains/network/public_html/includes/multisites_geoloc.php on line 627

Warning: fopen(/home/my_account/public_html/network/logs/browser.php): failed to open stream: No such file or directory in /home/my_account/domains/master.com/subdomains/network/public_html/includes/multisites_browser.php on line 44

Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/my_account/domains/master.com/subdomains/network/public_html/includes/multisites_browser.php on line 47

Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/my_account/domains/master.com/subdomains/network/public_html/includes/multisites_browser.php on line 48

Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/my_account/domains/master.com/subdomains/network/public_html/includes/multisites_browser.php on line 55

Warning: fclose() expects parameter 1 to be resource, boolean given in /home/my_account/domains/master.com/subdomains/network/public_html/includes/multisites_browser.php on line 57

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/my_account/domains/master.com/subdomains/network/public_html/includes/multisites_geoloc.php:615) in /home/my_account/domains/master.com/ subdomains/network/public_html/libraries/joomla/session/session.php on line 665

phmc
Fresh Boarder
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#12311
Re: Repost of error messages issue per slave ext insta 9 Years, 4 Months ago Karma: 0
I've noted that the path above is the old path, prior to when you re-did the server structure. It's correct in the configuration.php file. Where else can I edit it? Btw, I don't see any tables that are obviously for JMS Multi Sites in my db. And now I cannot login to the adimistrator area so I can't edit the JMS Slave site settings.
phmc
Fresh Boarder
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#12312
Re: Repost of error messages issue per slave ext insta 9 Years, 4 Months ago Karma: 0
I figured out how to edit the above paths:

It is in the following file (not a database table): /home/my_account/domains/master.com/subdomains/master/public_html/multisites/config_multisites.php

I guess you overlooked that we'd need to update the path when you re-arranged my directory paths?

The error messages have disappeared and I am able to log in once more. What I don't understand is why didn't these messages show up right away when we were working on it? How come they only showed up 2 or 3 days later?

Strange, but resolved.

I'd also like to know whether the following paths need to updated. Technically they are correct to my default cPanel public_html directory. But after you changed the server paths for JMS, I'm not sure if they need to be updated.

Code:

!defined( 'MULTISITES_HOME_DIR') and define( 'MULTISITES_HOME_DIR', '/home/master');
!defined( 'MULTISITES_PUBLIC_DIR') and define( 'MULTISITES_PUBLIC_DIR', '/public_html');



I changed these two parameters to be the new path:

Code:

!defined( 'MULTISITES_GEOIP_LOGFILE') and define( 'MULTISITES_GEOIP_LOGFILE', '/home/my_account/domains/master.com/subdomains/master/public_html/logs/geoloc.php');
!defined( 'MULTISITES_BROWSER_LOGFILE') and define( 'MULTISITES_BROWSER_LOGFILE', '/home/my_account/domains/master.com/subdomains/master/public_html/logs/browser.php');



Please advise asap, whether the above are correct and if there are other config paths I need to modify.

Thanks!
phmc
Fresh Boarder
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2014/12/15 21:42 By phmc.Reason: Added additional coded text.
The administrator has disabled public write access.
 
#12318
Re: Repost of error messages issue per slave ext insta 9 Years, 4 Months ago Karma: 54
First JMS does not save anything in any DBs as it starts before joomla and that the DB connection are not yet available.

Concerning the issue, it seems that you don't the permission on the geo-localisation log directory.
The path for the geo-localisation and browser directory are setup in the JMS settings menu.
If you need to change the path, go in the your JMS settings menu and in the "geo-localisation" & "Browser" pane, you will be able to change the path.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla