The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 15 posts ] 
Author Message
PostPosted: Fri Jul 02, 2010 12:01 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Jul 01, 2010 11:54 pm
Posts: 2
I have just migrated my site from the localhost to a live site and I have experienced problems uploading any file in the backend. Right now I am getting "The connection was reset. The connection to the server was reset while the page was loading." errors. I am baffled as to what might be causing this. Please help me. :'(


Top
 Profile  
 
PostPosted: Fri Jul 02, 2010 3:06 am 
User avatar
Joomla! Champion
Joomla! Champion

Joined: Sat Aug 16, 2008 1:46 pm
Posts: 5171
Location: the Bat Cave
Try enabling or disabling the FTP Layer in the Global Configuration settings. While you are in the backend go to Help System Info and under the PHP tab check your php memory setting.


Top
 Profile  
 
PostPosted: Fri Jul 02, 2010 4:34 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Jul 01, 2010 11:54 pm
Posts: 2
dpacadmin wrote:
Try enabling or disabling the FTP Layer in the Global Configuration settings. While you are in the backend go to Help System Info and under the PHP tab check your php memory setting.



The problem occurs with and without the FTP layer. Memory limit is 256M.



my vital stats:
PHP Version: 5.2.8
Web Server: Apache/2.0.63 (Unix) mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.8 mod_ssl/2.0.63 OpenSSL/0.9.8l
Web Server to PHP interface: apache2handler
Joomla! Version: Joomla! 1.5.17 Stable [ Wojmamni ama woobusani ] 27-April-2010 04:00 GMT


Top
 Profile  
 
PostPosted: Fri Jul 02, 2010 4:48 am 
User avatar
Joomla! Champion
Joomla! Champion

Joined: Sat Aug 16, 2008 1:46 pm
Posts: 5171
Location: the Bat Cave
You could check your Apache and php error logs to see if they give any clues. You should be able to FTP the install file to your site's tmp folder and then install from there.

Check your folder permissions to see if they are all writable. In the backend under Help/System Info select the Directory Permissions tab to check.


Top
 Profile  
 
PostPosted: Mon Apr 23, 2012 9:37 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Mar 14, 2012 12:20 pm
Posts: 12
Hello everyone,

From last few months, I am facing a very strange problem which is in overall system (I mean both in front and backend). I am using joomla 1.5.17, php5.1.6, mysql5.0.77.

Sometimes my whole site go down, sometime a part of it go down also sometime some links don’t work, in each case I just get this “Connection to the server was reset”. I am able to temporarily solve this error by increasing the max_execution_time, but this fix doesn’t work for long time, after 1 or 2 days the issue comes again.

Today at morning when I was trying to download a pdf from com_phocadownload(front-end) first it just end with opening the download window with status Starting…, after 2 hour when I tried to download a file the download window opened and it downloaded 90-96% of files(tried with different pdf’s), and then stops , in Firefox I just got the error that file.part couldn’t download because the part of the file cannot read from server, in Firefox I am getting the error “connection to server was reset”

As the issue is system wide and looks like a common script is taking to much time to run and cause error but which is it I am unable to guess.

Is anyone having any idea about it, or can anyone help me to fix this bug.

Any help is highly appreciated.

Thanks in Advance
Vivek Tiwari


Top
 Profile  
 
PostPosted: Mon Apr 23, 2012 9:05 pm 
User avatar
Joomla! Champion
Joomla! Champion

Joined: Sat Aug 16, 2008 1:46 pm
Posts: 5171
Location: the Bat Cave
You should check your site to see if it has been hacked. Follow the instructions here;
Before you post to the Security Forum please read this
Has your site been compromised? READ THIS

If you still suspect you may have been hacked try posting to the Security Forum for help.

The other possibility is that you have a cheap or poor Hosting service, a better Host would help. If that's not possible try checking the Performance Forum for tips on speeding up your site.


Top
 Profile  
 
PostPosted: Wed May 02, 2012 6:58 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Mar 14, 2012 12:20 pm
Posts: 12
Thanks, for your reply, but i am pretty much sure that its not a site hack issue, as i am using a very much secure host.

i am getting some session error in my session.php file, it said session object destruction failed.

also i am facing another issue, i have a subdirectory in my domain, for e.g. mydomain/subdir, and have a separate login form for this dir, so in-case i have open my domain in one tab and then try to login in mydomain/subdir in another tab, it log me out after 2nd refresh.

any help is highly appreciated.

Thanks / Best Regards
Vivek Tiwari


Top
 Profile  
 
PostPosted: Wed May 02, 2012 10:24 am 
User avatar
Joomla! Champion
Joomla! Champion

Joined: Sat Aug 16, 2008 1:46 pm
Posts: 5171
Location: the Bat Cave
Your download issue could be a problem with the extension you are using, try posting on their forum to see if anyone else is having a similar problem;
http://sourceforge.net/p/phoca/discussion/phoca-download/

Your login issue could be that you are trying to use the Joomla login to log into the Joomla backend more then once at a time, with out more specifics it is hard to know what that issue is.

Your site going down could be a bad or corrupt Joomla file, you could try uploading all the Joomla files again to get fresh set of files on the site. Do you have a complete file set for the version of Joomla you are using? Did you modify any of the Joomla core files? If so uploading the files again will over write your changes and you will need to do them again.

Have you verified that the site problems are happening for others, if it is just your computer it could be a browser cache issue. For that matter it could be a Joomla cache issue if you have the cache enabled. Try flushing the Joomla cache and do a check-in and cache purge as well then test.


Top
 Profile  
 
PostPosted: Fri May 04, 2012 11:01 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Mar 14, 2012 12:20 pm
Posts: 12
Hi dpacadmin

Thanks a lot for you quick reply,

here some more information about the issues that i am having

1:> I solved this download issue by removing the parameter output_handler=gzhandler, this was causing the issue, i was trying to download the pdf files and tried with these Content-transfer-encoding type
7bit
8bit
binary
base64
x-tocken

but couldn't get the download work for me then finally i removed the output_handler=gzhandler from my php.ini, and the download work fine
Please Note: while using this output_handler value i was unable to download anything system wide

2:> login Issue
i have solved this issue by using cookie method to login to subdirectory

3:> Site goes down
Actually the site don't go down, but the speed become very slow sometime. for example sometime when i try to edit a menu item from backend and press save button the process circle round but do not stop, i can see the change in front-end, this is system wide and occur alternatively(i mean sometime it occur sometime it don't)

also in my apache log file i am having these errors
1- session object destruction failed on line 98 at site/libraries/joomla/session/session.php

2.[error] [client 65.3.161.171] PHP Fatal error: Class 'JSessionStorage' not found in /home/ftpusr/public_html/libraries/joomla/session/session.php on line 108

also sometimes i get this error too
3. [error] [client 65.3.161.171] PHP Fatal error: Class 'JSession' not found in /home/ftpusr/public_html/libraries/joomla/jfactory.php

also: yes we have modified joomla core files too, it was a working project that i am manging now, so don't know all the changes exactly, also i am a joomla newbie
as we have modified the joomla core files the solution to reupload core files again won't work for me.

also for the above solution(download and login) is there any drawback to use these alternate ways


My configuration details
Joomla 1.5.17
Php 5.3.0
mysql 5.0.5

Thanks for all your helps. i am really very greatfull to you for all this.

Thanks / Best Regards
Vivek Tiwari


Top
 Profile  
 
PostPosted: Fri May 04, 2012 2:24 pm 
User avatar
Joomla! Champion
Joomla! Champion

Joined: Sat Aug 16, 2008 1:46 pm
Posts: 5171
Location: the Bat Cave
I found these notes on gzhandler;
http://phptutorial.info/?ob-gzhandler
Quote:
Note:

ob_gzhandler() requires the zlib extension.

Note:

You cannot use both ob_gzhandler() and zlib.output_compression. Also note that using zlib.output_compression is preferred over ob_gzhandler().


I don't know if that is an issue with your server though.

You seem to be having a session issue, have you checked to make sure your directories are writable? In the Joomla backend go to Help/System Info and click on the Directory Permissions tab, make sure all your folders are writable.

Try running the Forum Post Assistant on your site to see if it find any issues.

Have you tried a different browser to see if the slow site problem is browser based?

If your site has a lot of data you could be having a database problem, the database server may be slow or your database may need repair. Using phpMyAdmin try doing a repair on your database, do a backup of the database first.

Try replacing the two files that have errors with know good copies from the same version of Joomla you are using;
/libraries/joomla/session/session.php
/libraries/joomla/jfactory.php

I just checked and this is not a core file;
/libraries/joomla/jfactory.php

I think I have seen a j added to file names during file updates, could it be an update that went bad, or could it be an extension that has replaced the core factory.php file with its own? It may be that you have an extension installed that is saving its own session cookie and it is having the problem.


Top
 Profile  
 
PostPosted: Mon May 07, 2012 5:23 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Mar 14, 2012 12:20 pm
Posts: 12
Hi dpacadmin

Thanks a lot for you quick reply,

I am very sorry, i mistakenly wrote the file name incorrect, its /libraries/joomla/factory.php only.

and yes i am using lots of external extentions, here are some which i have recently added
ITP Share
mod_gkweather

also can you please explain a little bit more about the directories permissions, i am sorry but we have removed all the joomla references from our site for security purpose and don't have this menu help in my site back-end, so can you please tell me for which directories i have to check the permission and what permission should i set for them.

also today i got a mail from my network operator which is saying

"my site is talking mysql to myDataBase Server at a rate of 6,259 packets per second. That’s a lot for mysql. Something strange could be going on."

unable to guess what/where the problem can be.

any help will be highly appreciated.

Thanks in advance

Thanks / Best Regards
Vivek Tiwari


Top
 Profile  
 
PostPosted: Mon May 07, 2012 1:10 pm 
User avatar
Joomla! Champion
Joomla! Champion

Joined: Sat Aug 16, 2008 1:46 pm
Posts: 5171
Location: the Bat Cave
Your folders should have 755 permission and your files should be 644. All files and folders should have the same ownership.

In the Global Configuration settings in the admin backend turn on Debug and then load your front page. It will display all the sql requests for the page and should let you know which extension(s) are making the most requests. If your database connection times out before your page loads you will get a 500 internal error. You may need to disable some extensions and test to find the one slowing down the page load.

Did you try replacing the two files that were getting the errors?
Did you find any issues when you ran the Forum Post Assistant on your site?


Top
 Profile  
 
PostPosted: Tue May 08, 2012 7:06 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Mar 14, 2012 12:20 pm
Posts: 12
Hi dpacadmin

Thanks a lot for you quick reply,

Sorry couldn't try it yesterday, but i will surely try it by replacing both file from fresh joomla 1.5.17

and for Forum Post Assistant, i went to there page where they mentioned that
"USE AT YOUR OWN RISK Accuracy and completeness of this script and documentation is not assured and no responsibility will be accepted for any damage, issues or confusion caused by using any FPA versions contained within these branches."

worried if it make any new issue, is it safe to use it?

checked for folder and file permissions and all is same as you mentioned here, also run the system at debug mode didn't get any error, about number of queries, my back-end is having about 20 sql queries, and front-end is having about 70 sql queries.
is it the issue?

Thanks for all your help

Thanks / Best Regards
Vivek Tiwari


Top
 Profile  
 
PostPosted: Tue May 08, 2012 1:42 pm 
User avatar
Joomla! Champion
Joomla! Champion

Joined: Sat Aug 16, 2008 1:46 pm
Posts: 5171
Location: the Bat Cave
I have never had an issue with the Forum Post Assistant, it will give you valuable info about your site and server.

If your site is only making 70 queries to the database on the frontend why does your network operator say your "site is talking mysql to myDataBase Server at a rate of 6,259 packets per second"? That sounds very high for only 70 queries, 70 should not be a problem for your database, hundreds, say five hundred or more, should only slow the database down. You might want to ask your network operator if they know why 70 queries would produce 6,259 packets per second.

The current issue is that your frontpage will not load and is giving you a white page?
If so try enabling Error reporting in the Global Configuration settings in the Joomla admin backend. Set it to Maximum and then try to load the frontpage, it should give you any php errors that are blocking the page from loading.


Top
 Profile  
 
PostPosted: Sat Jun 16, 2012 10:15 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Mar 14, 2012 12:20 pm
Posts: 12
Thanks to everyone, now my issue has resolved.
don't know how, but now i'm not getting the errors.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 



Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group