Advertisement

Site is down....

General questions relating to Joomla! 2.5. Note: All 1.6 and 1.7 releases have reached end of life and should be updated to 2.5. There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Locked
serega21
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Thu Jul 21, 2011 5:56 pm

Site is down....

Post by serega21 » Thu Jul 21, 2011 5:59 pm

site was working fine yesterday. i updated to j1.7

noticed that kunena forum was down, but kunena forum is not ready for j1.7 yet, so that was fine.

today i get this error when i visit home page:

Warning: fopen(/var/logs/error.php) [function.fopen]: failed to open stream: No such file or directory in /home/content/41/8028941/html/libraries/joomla/log/loggers/formattedtext.php on line 237

Warning: fputs(): supplied argument is not a valid stream resource in /home/content/41/8028941/html/libraries/joomla/log/loggers/formattedtext.php on line 241

Fatal error: Uncaught exception 'LogException' in /home/content/41/8028941/html/libraries/joomla/log/loggers/formattedtext.php:242 Stack trace: #0 /home/content/41/8028941/html/libraries/joomla/log/loggers/formattedtext.php(137): JLoggerFormattedText->initFile() #1 /home/content/41/8028941/html/libraries/joomla/log/log.php(366): JLoggerFormattedText->addEntry(Object(JLogEntry)) #2 /home/content/41/8028941/html/libraries/joomla/log/log.php(333): JLog->addLogEntry(Object(JLogEntry)) #3 /home/content/41/8028941/html/plugins/system/log/log.php(46): JLog->addEntry(Array) #4 [internal function]: plgSystemLog->onUserLoginFailure(Array) #5 /home/content/41/8028941/html/libraries/joomla/event/event.php(48): call_user_func_array(Array, Array) #6 /home/content/41/8028941/html/libraries/joomla/event/dispatcher.php(115): JEvent->update(Array) #7 /home/content/41/8028941/html/libraries/joomla/application/application.php(588): JDispatcher->trigger('onUserLoginFail...', Array) #8 /home/content/41/8028941/html/libraries/joomla/application in /home/content/41/8028941/html/libraries/joomla/log/loggers/formattedtext.php on line 242

take a look - http://tirereviewer.com

what can it be? what do i do? help!!!

Advertisement
GoldenEagles
Joomla! Intern
Joomla! Intern
Posts: 78
Joined: Sat Jun 04, 2011 6:41 pm

Re: Site is down....

Post by GoldenEagles » Thu Jul 21, 2011 8:48 pm

Website works fine.

herb200mph
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3592
Joined: Sun Jun 25, 2006 12:12 am
Location: Salisbury, NC/USA (N. of Charlotte)
Contact:

Re: Site is down....

Post by herb200mph » Fri Jul 22, 2011 1:22 pm

Site working fine on this end at 9:20 a.m. Easter Standard Time.
Author: Joomla! 5: Boots on the Ground, Volume 1 @ Amazon.com
Author: Joomla! 4: BASIC TRAINING - Boots on the Ground @ Amazon.com
Joomla! Magazine - https://magazine.joomla.org/all-issues/ ... c-training

danraymo
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue May 24, 2011 6:59 pm

Re: Site is down....

Post by danraymo » Mon Jul 25, 2011 2:26 pm

Same thing happened to my site... upgraded to 1.7 a few days ago... got it working fine... then this morning got same set of error messages above (in Google Chrome only)
Last edited by ooffick on Tue Jul 26, 2011 10:28 am, edited 1 time in total.
Reason: Mod Note: Removed manual Signature. Please read the Forum rules for details.

GoldenEagles
Joomla! Intern
Joomla! Intern
Posts: 78
Joined: Sat Jun 04, 2011 6:41 pm

Re: Site is down....

Post by GoldenEagles » Mon Jul 25, 2011 8:57 pm

danraymo wrote:Same thing happened to my site... upgraded to 1.7 a few days ago... got it working fine... then this morning got same set of error messages above (in Google Chrome only)
Says your site is down for maintenance. No other error messages.

danraymo
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue May 24, 2011 6:59 pm

Re: Site is down....

Post by danraymo » Mon Jul 25, 2011 9:10 pm

Seems it was permissions on the "logs" directory.

Edelmann
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Mon Aug 01, 2011 2:23 pm

Re: Site is down....

Post by Edelmann » Mon Aug 01, 2011 2:32 pm

I have exactly the same problem (only with chrome) and do not know how to solve it. I am a rookie and did not find more information about this topic. Help please. The problem appeared when I upgraded to joomla 1.7. www.sergiogaviria.com

Warning: fopen(/var/logs/error.php) [function.fopen]: failed to open stream: No such file or directory in /home/content/77/7421777/html/portal/libraries/joomla/log/loggers/formattedtext.php on line 237

Warning: fputs(): supplied argument is not a valid stream resource in /home/content/77/7421777/html/portal/libraries/joomla/log/loggers/formattedtext.php on line 241

Fatal error: Uncaught exception 'LogException' in /home/content/77/7421777/html/portal/libraries/joomla/log/loggers/formattedtext.php:242 Stack trace: #0 /home/content/77/7421777/html/portal/libraries/joomla/log/loggers/formattedtext.php(137): JLoggerFormattedText->initFile() #1 /home/content/77/7421777/html/portal/libraries/joomla/log/log.php(366): JLoggerFormattedText->addEntry(Object(JLogEntry)) #2 /home/content/77/7421777/html/portal/libraries/joomla/log/log.php(333): JLog->addLogEntry(Object(JLogEntry)) #3 /home/content/77/7421777/html/portal/plugins/system/log/log.php(46): JLog->addEntry(Array) #4 [internal function]: plgSystemLog->onUserLoginFailure(Array) #5 /home/content/77/7421777/html/portal/libraries/joomla/event/event.php(48): call_user_func_array(Array, Array) #6 /home/content/77/7421777/html/portal/libraries/joomla/event/dispatcher.php(115): JEvent->update(Array) #7 /home/content/77/7421777/html/portal/libraries/joomla/application/application.php(588): JDispatcher->trigger('onUserLoginFail...', Array) #8 /h in /home/content/77/7421777/html/portal/libraries/joomla/log/loggers/formattedtext.php on line 242

ecocr
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Wed Jul 06, 2011 10:34 am
Location: United Kingdom
Contact:

Re: Site is down....

Post by ecocr » Sat Aug 06, 2011 8:58 am

Hi,
Just updated to 1.7 on a couple of site that we maintain and everything run fin to start with. Then today one customer contacted us for the above error. The error shows up when Joomla needs to log an error (in our case they entered the wrong password in admin.) The site runs ok on the front end even with this error showing, you just can't login to admin or front end.

To clear the problem you need to set file permissions of your log folder so that joomla can create the error log, everything returns to normal again on the site then. Or it did for us:)
Remember to protect your log files again afterwards.
Ecocr.

Edelmann
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Mon Aug 01, 2011 2:23 pm

Re: Site is down....

Post by Edelmann » Sat Aug 06, 2011 5:14 pm

Thanks ecocr. I tried with 777 permissions, did not work. I also tried with the configuration.php file (path log and tmp), did not work. The error show, sometimes, in explorer and chrome. In Firefox shows no error. Me queda la posibilidad de reinstalar. Thanks.

DanMikkelsen
Joomla! Apprentice
Joomla! Apprentice
Posts: 49
Joined: Fri Jan 21, 2011 10:52 am

Re: Site is down....

Post by DanMikkelsen » Sat Aug 06, 2011 5:23 pm

What version did you upgrade from? Was it the most recent 1.6 version or an older?

It's probably just the browser caching screwing up. Explorer is stupid, even caching php pages..
Just do a browser "hard reset" (ctrl + F5) and it should be fine.

Edelmann
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Mon Aug 01, 2011 2:23 pm

Re: Site is down....

Post by Edelmann » Sat Aug 06, 2011 6:39 pm

Thanks DanMikkelsen. The problem was when upgrading 1.6.4 to 1.6.7. I did it wrong because he must first upgrade to 1.6.5. The problem happens mainly with google chrome. I accepted your recommendation with control + f5 and it does not work. Thanks again.

froehli
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 107
Joined: Thu Jun 18, 2009 5:03 pm

Re: Site is down....

Post by froehli » Tue Aug 23, 2011 11:34 am

In my case, it was the the browser cookies which were causing the problem. How or why, no idea, but clearing them resolved the problem!
See also this topic.

That said, it seems to me that there still is some kind of problem in Joomla... how can a wrong cookie cause an error about LOGGING to be displayed, when logging should actually be working fine?
Or does logging still not work, but deleting the cookie just made the actual error go away so that there is no need for logging?

tweaksource
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Wed Aug 24, 2011 4:45 pm

Re: Site is down....

Post by tweaksource » Wed Aug 24, 2011 4:50 pm

I can confirm that clearing the cookies solved this error for me also.

mev55
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Wed Mar 02, 2011 10:28 pm

Re: Site is down....

Post by mev55 » Wed Oct 12, 2011 3:56 am

ecocr above was right on! I had the same experience where cookies would clear the issue for awhile, but then the issue would reappear. This also happened to me across all browsers. In the end what I did was point to the correct logs folder and made sure that the error.php file would get created. Once I corrected this issue it immediately worked even without clearing the cookies first.

Thanks ecocr, I have been dealing with this for over a month.

angrydog4
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sun Oct 30, 2011 2:56 am

Re: Site is down....

Post by angrydog4 » Sun Oct 30, 2011 3:00 am

I'm having the exact same issue.. HOWEVER, it only appears on IE, and ONLY when the site is referenced with a "www." prefix. Use the domain name without www., and it works fine.
(try goldappl.com with and without the www).

It was fine a few days ago... no changes made, and this appears. Clearing cookies on the clients did not help. Any ideas would be appreciated.

mev55
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Wed Mar 02, 2011 10:28 pm

Re: Site is down....

Post by mev55 » Sun Oct 30, 2011 3:13 am

What finally cleared everything up for me and works on several hosts (GoDaddy & iPage) is setting the folder paths to the settings below:
./logs
./tmp

trident
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Sun Mar 29, 2009 12:07 am

Re: Site is down....

Post by trident » Wed Jun 05, 2013 9:16 am

Same problem today.

Problem joomla logging, look at /log/...

VicHaunter
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed Jun 16, 2010 2:45 pm
Contact:

Re: Site is down....

Post by VicHaunter » Wed Jun 05, 2013 10:41 am

I see the site without errors, but anyway you can try if its file write permissions problem.

trident
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Sun Mar 29, 2009 12:07 am

Re: Site is down....

Post by trident » Wed Jun 05, 2013 11:41 am

hmm, I disabled the debug plugin, it causes the error above, if the file size of log files exceeded. Or kill the joomla log files.

Advertisement

Locked

Return to “General Questions/New to Joomla! 2.5”