Visitors Counter

mod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_counter
mod_vvisit_counterToday23
mod_vvisit_counterYesterday216
mod_vvisit_counterThis week429
mod_vvisit_counterThis month1506
mod_vvisit_counterTotal88988

Online (20 minutes ago): 13
Your IP: 38.107.191.92
Now is: 2010-09-08 00:39

LinkShare

button

Artisteer - Joomla Theme Generator

 ccBoard Forum :: JB IP Logger
Welcome Guest   
 Subject :JFolder::create: Could not create directory.. 2009-11-26 21:28:01 
ofrank
Beginner
Joined: 2009-11-19 05:56:31
Posts: 2
Location
Hi,

I was able to install JBIpLogger without any problems but when I enabled it in the back-end I received the following error message: "JFolder::create: Could not create directory" in a red/pink box below the blue, plug installed correctly, box. When browsing other menus in the back-end that error message stays there until i disable the plug-in or uninstall it.

I am using Joomla 1.5.14 Stable and Alpha Registration for the user interface. Everything else works well.

I tried deleting the existing 'logs' folder and re-installed but that didn't work. The current "logs" folder only has a blank, white background index.html page in it. I am not using any other type of logging plugin.

I should add that I tried both the plugin's with and without the username option. If I can get this working I will be using the username version

Help and guidance greatly appreciated.

Thanks,

O
IP Logged
 Subject :Re:JFolder::create: Could not create directory.. 2009-11-26 21:45:13 
polleke
Super admin
Joined: 2009-07-15 10:15:55
Posts: 156
Location: Amersfoort, Netherlands
Hi O,
can you do the following: edit the file jbiplogger.php
and add the following :
Code:
echo $logfile;

AFTER
Code:
function onAfterInitialise() { global $mainframe; $errorlog = &JLog::getInstance('jbiplogger.php'); $ipblock=false; $logfile=JPATH_ROOT.DS."logs".DS."jbiplogger.php";

So it looks like :
Code:
function onAfterInitialise() { global $mainframe; $errorlog = &JLog::getInstance('jbiplogger.php'); $ipblock=false; $logfile=JPATH_ROOT.DS."logs".DS."jbiplogger.php"; echo $logfile;

Then enable the plugin again and send me the output.

Did you rencently moved your site to an other location or server ?

This plugin uses the standard log function of the Joomla core.

regards Jan
IP Logged
Kind regards,
Jan
 Subject :Re:JFolder::create: Could not create directory.. 2009-11-26 21:52:41 
polleke
Super admin
Joined: 2009-07-15 10:15:55
Posts: 156
Location: Amersfoort, Netherlands
Hi O,
can you check the permissions of the log folder ?
You can change it to 777 to test
Can you also check the ownership of the log folder?
It should be owned by the web-server (apache user)

regards Jan
IP Logged
Kind regards,
Jan
 Subject :Re:JFolder::create: Could not create directory.. 2009-12-16 22:31:08 
ofrank
Beginner
Joined: 2009-11-19 05:56:31
Posts: 2
Location
Hi Jan,

Thank you for your reply. I apologize for the delay on my part. We went live and this was pushed back as a future "want".

That said, I did try your suggestions including changing the access to the log folder and file to 777 and the code change.

Unfortunately, when i enabled the component i still got the error message in the back-end as well as every page in the front-end. Additionally there was some significant font size changes throughout the site, front-end and back-end. Not every text changed but it made one menu un-usable and some pages unattractive.

Upon disabling the component everything went back to normal but to make sure I uninstalled it as well.

I hope this helps you with development. If you would like any other information or for me to try something else I would be happy to oblige. Your plug-in has great potential and is an idea not widely developed in Joomla.

Thanks,
O
IP Logged
 Subject :Re:JFolder::create: Could not create directory.. 2009-12-17 09:07:38 
polleke
Super admin
Joined: 2009-07-15 10:15:55
Posts: 156
Location: Amersfoort, Netherlands
Hi O,
Thanks for your message.
Did you have a look at this topic : http://www.jb-soft.nl/index.php?option=com_ccboard&view=postlist&forum=9&topic=30&Itemid=2

It is realy a Joomla problem possibly caused by moving a site from one server (or path) to an other.
If so , there is a wrong logpath (and temppath) in your configuration.

Well.. thanks for anyway for your response.

regards Jan
IP Logged
Kind regards,
Jan
Pagina # 


Powered by ccBoard


 

Follow us on twitter