Site is ultra slow and is driving me crazy! (S O L V E D)

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   re: Site is ultra slow and is driving me crazy!
rhinoz
CZ Newbie
rhinoz has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Oct 24, 2005
0.00 posts per day
Posts: 16
Points: 651
   
Wish there was some sort of checker that can be run from a browser to check lag times in what pages and point out errors! Maybe there is and I just haven't seen it. Hopefully this resolution will come soon as our site was suppose to go live today!

icon_cry.gif



Back to top Reply with quote
#2   
Gareth
CZ Addict
 Codezwiz Site Donator
Gareth has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Student, Webmaster
Gender: Male
Fav. Sports Team: Liverpool FC
Status: Offline
Joined: May 29, 2004
0.08 posts per day
Posts: 587
Points: 38,220
   
Have you tried closing the connections after they have been used?




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#3   re: Site is ultra slow and is driving me crazy!
rhinoz
CZ Newbie
rhinoz has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Oct 24, 2005
0.00 posts per day
Posts: 16
Points: 651
   
Ok, this is where my noobish traits show, how do you do that?



Back to top Reply with quote
#4   
Gareth
CZ Addict
 Codezwiz Site Donator
Gareth has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Student, Webmaster
Gender: Male
Fav. Sports Team: Liverpool FC
Status: Offline
Joined: May 29, 2004
0.08 posts per day
Posts: 587
Points: 38,220
   
I'm not sure exactly where and how you would use it properly, but you would have to use mysql_close();

Lets say $connection = mysql_connect(and all that..)

You could close the connection by using mysql_close($connection);

Before you close it you should get the data you need.

Again, I don't know where to put this, maybe footer.php. I code my own sites now so I don't have much experience in Nuke, i've forgotten it all icon_rolleyes.gif

Anyway, let me know the results.

Gareth




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#5   
Gareth
CZ Addict
 Codezwiz Site Donator
Gareth has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Student, Webmaster
Gender: Male
Fav. Sports Team: Liverpool FC
Status: Offline
Joined: May 29, 2004
0.08 posts per day
Posts: 587
Points: 38,220
   
Quote from PHP.net - mysql_close()

"Note: mysql_close() will not close persistent links created by mysql_pconnect()."




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#6   re: Site is ultra slow and is driving me crazy!
rhinoz
CZ Newbie
rhinoz has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Oct 24, 2005
0.00 posts per day
Posts: 16
Points: 651
   
well, I've tried both persistent and regular connections, no change. I'm double checking all the modules right now.
Its almost as if there is a file missing and its looking for it.



Back to top Reply with quote
#7   re: Site is ultra slow and is driving me crazy! (SOLVED)
rhinoz
CZ Newbie
rhinoz has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Oct 24, 2005
0.00 posts per day
Posts: 16
Points: 651
   
SOLVED!!!!!!!

Ok, went through every single line of code and reference and variable in 75% of the pages and blocks, found a single block that made a reference to an image which was located out of the root directory, changed the linkage to the correct directory and now everything is as speedy as it was. How it got changed, I have no idea!!!

But I would like to say thanks to those who responded, I'll be looking into this website and its helpers everyday.

Thanks again, you guys n gals are GREAT!!



Back to top Reply with quote
#8   
Gareth
CZ Addict
 Codezwiz Site Donator
Gareth has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Student, Webmaster
Gender: Male
Fav. Sports Team: Liverpool FC
Status: Offline
Joined: May 29, 2004
0.08 posts per day
Posts: 587
Points: 38,220
   
Glad you got it fixed :-)

Gareth icon_cool.gif




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#9   
Greenhouse
CZ Newbie
Greenhouse has been a member for over 19 year's 19 Year Member
sweden.gif
Gender: Male
Status: Offline
Joined: Oct 29, 2005
0.00 posts per day
Posts: 2
Points: 39
   
I'm thanking you as well, only for being here.
It warms me heart to see that this kind of community truly exists. icon_smile.gif




_________________
^.^
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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 vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum