WebmasterSite.net

refresh doesnt work anymore?

Version: 5.0.43
URL:

PrintPrint


Page: 1 2

refresh doesnt work anymore?
mariow
Forum Regular

Usergroup: Customer
Joined: Jul 09, 2008

Total Topics: 22
Total Posts: 110
quote post #1
Posted 04/08/09 - 2:43 PM:

hello,

i noticed something weird after the upgrade..

*when someone submitted a link that i edited.when i clicked save the browser kept on waiting ...the refresh moment..,but nothing happened..
when i checked the admin area it showed that the link was indeed edited..

*and...when i added the link it usualy refreshes and goes to the admin index...
also that didnt happen....,on the front side i saw that the link was added.

So where does this suddenly comes from?
Using firefox 3.0.8
Paul
developer
Avatar

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 65
Total Posts: 7614
quote post #2
Posted 04/09/09 - 8:24 PM:

It doesn't appear to submit the form? Do you have the "remove redirects where possible" option set to "yes" at Admin -> Settings -> General? Did you change any settings/switches recently?

Edited by Paul on 04/09/09 - 8:47 PM
mariow
Forum Regular

Usergroup: Customer
Joined: Jul 09, 2008

Total Topics: 22
Total Posts: 110
quote post #3
Posted 04/09/09 - 11:06 PM:

no paul....its set to no..
i cant imagine this happend only once..
i will let you know if it happens again..
Paul
developer
Avatar

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 65
Total Posts: 7614
quote post #4
Posted 04/11/09 - 10:13 PM:

At Admin Panel -> Misc -> Manage Redirects, what's the "After a user edits a link, send them to" value?

Are you talking about regular side edits or only admin panel edits?
mariow
Forum Regular

Usergroup: Customer
Joined: Jul 09, 2008

Total Topics: 22
Total Posts: 110
quote post #5
Posted 04/12/09 - 3:49 AM:

I HAVE
After a user edits a link, send them to : index.php?action=displaycat&catid={LINKCATID}

But i just added a site of myself.
This is what happend.
I submitted the site and mistyped a word.

i received the mails etc...
then in admin validation area i clicked EDIT.
That goes to: edit.php?action=link&field=id&fieldvalue=96564&c ondition=equals

I edited the link and clicked save changes.
But then the browser is in a loading state,and stays like that.
when i check the admin area and look at the information of my submitted site it shows the edits were done,so thats ok...
but the refresh to the other page doesnt seem to work.

i verified my email,so clicked the link in the mail....got verified and page refreshes...so thats no problem.

But again the funny part.
i approved my link and at the front it already shows but in admin it stays in a refreshing / loading state....but it seems it takes almost 2 minutes or so to finaly refresh.....so it did went to the refreshed page.
i remember it was faster before the latest 2 or 3 upgrades.
Paul
developer
Avatar

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 65
Total Posts: 7614
quote post #6
Posted 04/13/09 - 1:33 AM:

When I edit a pending link, the edit page is the normal edit page and submitting it works the same as it always does.

I can make you an admin at http://sandbox.webmastersite.net/wsnlinks50/ if you want to try to recreate it there. You didn't fill in the example URL field, of course, so I can't tell you if I see an obvious edit link template problem or something.
mariow
Forum Regular

Usergroup: Customer
Joined: Jul 09, 2008

Total Topics: 22
Total Posts: 110
quote post #7
Posted 04/13/09 - 5:08 AM:

i approved my link and at the front it already shows but in admin it stays in a refreshing / loading state....but it seems it takes almost 2 minutes or so to finaly refresh.....so it did went to the refreshed page.

so it works,but it takes a long time to refresh...

so can it handle almost 100.000 links cause it looks its getting slower..
Paul
developer
Avatar

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 65
Total Posts: 7614
quote post #8
Posted 04/13/09 - 11:12 PM:

MySQL can need a lot of memory to process updates to a table that big, especially when there are table indexes to rebuild.

I have 30,000 topics and 520,000 posts on a WSN Forum (same code). Submissions and edits were taking ages to process when I was on a VPS with limited RAM (I think it was 512MB guaranteed ram), but have been nice and fast since I moved to a new VPS with 1500MB guaranteed ram.

The links table ought to be smaller and thus faster than the posts table though, since it has much less text. So it's odd that it'd get slow at only 100,000, unless memory is especially limited. I'll try running some test insertions overnight.
Paul
developer
Avatar

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 65
Total Posts: 7614
quote post #9
Posted 04/13/09 - 11:57 PM:

(Insertions didn't take overnight after all.)

I inserted 200,000 rows in the links table. Editing a pending link now takes 11 seconds to refresh to the redirect page. That's on my desktop computer, an AMD Sempron 1.8 GHz with 1.5 GB RAM.

I'll look into whether there are any queries I can cut from that.
mariow
Forum Regular

Usergroup: Customer
Joined: Jul 09, 2008

Total Topics: 22
Total Posts: 110
quote post #10
Posted 04/14/09 - 12:13 AM:

Well i have:

Intel core 2 duo e6750
2.64GHZ
RAM:1.98

i wonder what i can turn off in the wsn that could speed things up...
Paul
developer
Avatar

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 65
Total Posts: 7614
quote post #11
Posted 04/15/09 - 2:27 PM:

There's nothing you can turn off that's likely to speed up edits much, except maybe the google maps if you're using that -- it's possible that the attempt to connect to google's server to retrieve the new geodata is running really slow.

They really shouldn't be slow with 2GB RAM, unless something else is eating all the RAM.
mariow
Forum Regular

Usergroup: Customer
Joined: Jul 09, 2008

Total Topics: 22
Total Posts: 110
quote post #12
Posted 04/15/09 - 2:45 PM:

no im not using google map,but i thought maybe its a good idea to try with internet explorer 8..

and thats faster !

jeez..faster then firefox...
Paul
developer
Avatar

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 65
Total Posts: 7614
quote post #13
Posted 04/16/09 - 8:21 PM:

Must be something strange about your local setup or cookies, or maybe template HTML somehow messing up the redirect in firefox then.

I've been using Firefox 3, Opera 9.6 and Konqueror.
mariow
Forum Regular

Usergroup: Customer
Joined: Jul 09, 2008

Total Topics: 22
Total Posts: 110
quote post #14
Posted 04/17/09 - 12:19 AM:

mmmm, as for setup i use standard settings,als standard cookie settings.

plugins installed: firebug , java quick starter , microsoft net framework assistant , search status , unplug , and webdeveloper.

thats it...
Paul
developer
Avatar

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 65
Total Posts: 7614
quote post #15
Posted 04/17/09 - 1:51 AM:

Vaguely possible that one of the plugins/extensions could interfere somehow. Recently somebody's templates weren't working for anyone with adblock installed because adblock blocks any directory named linkexchange.

It's hard to see how anything browser-related can affect the time it takes to submit a form, though -- it should just make the form not submit at all, if anything goes wrong.
 
Search thread for
Download thread as

Page: 1 2



Sorry, you don't have permission to post. Log in, or register if you haven't yet.