Urgent advice appreciated?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
purpleflower
Forum Newbie
Posts: 5
Joined: Sat Aug 08, 2009 6:24 am

Urgent advice appreciated?

Post by purpleflower »

Hello,

I have a web company who have built me a website which needs to be properly launched asap due to many delays. The problem is that pages load up real slow - 2 - 10+ mins, the circle keeps whirring round and round and only parts of the page show. This happens on first signing in, deleting a user in the Admin panel, clicking Home after first signing in, as well as other actions.

The designers say they are not sure what could be causing it, and are looking into it.

I really need to have the slow-loading issue fixed. I don't know too much about the backend, except it's a PHP site. url is http://www.soulalert.com - it is online right now, but the holding page may be going back up shortly.

If anyone has any ideas I would be really grateful.

Thanks
purpleflower
frao_0
Forum Commoner
Posts: 27
Joined: Sat Aug 08, 2009 3:52 am
Location: Toulouse, France

Re: Urgent advice appreciated?

Post by frao_0 »

It loads ok for me! for the rest, we need to see the source of the site, and get paid (:D) if others are
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Re: Urgent advice appreciated?

Post by aceconcepts »

It took about 10 seconds to load for me - but it all loaded at once.

I sometimes find that I "overload" my browser with too many requests and it can't handle. One web site just didn't do anything when i was on my laptop but when i checked it on my PC it was fine. Try closing down your browser etc... maybe its as simple as that.
purpleflower
Forum Newbie
Posts: 5
Joined: Sat Aug 08, 2009 6:24 am

Re: Urgent advice appreciated?

Post by purpleflower »

Thanks for the replies. However I should clarify that the slow-loading occurs after certain actions where it is going to the db - eg after signing up and then logging on, after deleting a user in Admin then clicking Home - these kinds of actions. On clicking around the site without doing very much it's all ok yes. It's when you go the server and back...

It regularly does this, and can take over 10 mins, at the bottom it says 'waiting for http://www.soualert.com...' and the circle whirrs round and you always get part of the site displayed only, incl. two particular icons...

It is intermittent.

If anyone has any ideas that would be much appreciated.
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Re: Urgent advice appreciated?

Post by aceconcepts »

Well without seeing any code structure or queries I'd have to assume that your queries and/or database are not very well optimised.

Do you have a lot of records stored in the DB? Do you use indexes?

It could be a number of things. Can you web agent not help?
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: Urgent advice appreciated?

Post by Eran »

The main site is just a tad under 1Mb which is quite heavy for a site that is not media-heavy. However, your problems in the administration section are probably unrelated - probably underoptimized database schema and queries. Perhaps recursive queries? nobody can tell what the problem is exactly without profiling your system directly.
purpleflower
Forum Newbie
Posts: 5
Joined: Sat Aug 08, 2009 6:24 am

Re: Urgent advice appreciated?

Post by purpleflower »

Ok, thanks for input.

I have just been informed that the designer is now back online a bit after flu....AND he says he may know what the issue is - ajax files? Phew. I was a bit worried earlier as users are going on the site and having these issues. Thanks!
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: Urgent advice appreciated?

Post by Eran »

sounds fishy.

no such thing as ajax files, and ajax is only supposed to improve user experience, not dampen it.
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Re: Urgent advice appreciated?

Post by aceconcepts »

AJAX is simply the combination of JavaScript and XML (Asynchronous JavaScript And XML).

I would have put my money on database and query optimisation. Anyway, goodluck.
purpleflower
Forum Newbie
Posts: 5
Joined: Sat Aug 08, 2009 6:24 am

Re: Urgent advice appreciated?

Post by purpleflower »

Hmm, well he's pretty experienced...he says it's probably ajax files (scripts) not getting on with each other, or one of them getting stuck in a loop. Apparently a lot of ajax files are used on signup which is one time when the issue is occurring.

Does this not make sense?...
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Re: Urgent advice appreciated?

Post by aceconcepts »

So long as he gets it sorted then it'll be fine. In all honesty it depends on how his done the site and database including all the queries.
purpleflower
Forum Newbie
Posts: 5
Joined: Sat Aug 08, 2009 6:24 am

Re: Urgent advice appreciated?

Post by purpleflower »

Ok fingers crossed.

Thanks!
Post Reply