Author Topic: Website development and design troubleshooting/ question  (Read 8303 times)

Offline Sport

  • Dansdeals Lifetime Platinum Elite
  • *******
  • Join Date: Dec 2013
  • Posts: 1981
  • Total likes: 34
  • DansDeals.com Hat Tips 0
    • View Profile
I'll start:
I have a WP website and recently, when I try to visit one of the pages I get the following message: This webpage has a redirect loop.
 Anybody have advice on how to fix this. I'm pretty much a novice when it comes to website development, so any help in layman's terms will be appreciated.
TIA

Offline yesitsme

  • Dansdeals Platinum Elite + Lifetime Gold Elite
  • ******
  • Join Date: Dec 2014
  • Posts: 806
  • Total likes: 18
  • DansDeals.com Hat Tips 4
    • View Profile
    • perpetual talk
Re: Website development and design troubleshooting/ question
« Reply #1 on: May 14, 2015, 11:45:56 PM »
you can try this
1. Sign into a WordPress admin account for your website.



2. In the WordPress dashboard under the Settings tab on the left sidebar, select Permalinks.



3. In the Common Settings briefly select a different setting for your permalink structure and then select your original permalink setting and click the Save Changes button at the bottom of the page.

be conservative in what you do, be liberal in what you accept from others.

Offline Sport

  • Dansdeals Lifetime Platinum Elite
  • *******
  • Join Date: Dec 2013
  • Posts: 1981
  • Total likes: 34
  • DansDeals.com Hat Tips 0
    • View Profile
Re: Website development and design troubleshooting/ question
« Reply #2 on: May 15, 2015, 09:47:19 AM »
you can try this
1. Sign into a WordPress admin account for your website.



2. In the WordPress dashboard under the Settings tab on the left sidebar, select Permalinks.



3. In the Common Settings briefly select a different setting for your permalink structure and then select your original permalink setting and click the Save Changes button at the bottom of the page.
Seems simple enough, I'll try this and report back. Thanks

Offline Sport

  • Dansdeals Lifetime Platinum Elite
  • *******
  • Join Date: Dec 2013
  • Posts: 1981
  • Total likes: 34
  • DansDeals.com Hat Tips 0
    • View Profile
Re: Website development and design troubleshooting/ question
« Reply #3 on: May 15, 2015, 10:56:18 AM »
you can try this
1. Sign into a WordPress admin account for your website.



2. In the WordPress dashboard under the Settings tab on the left sidebar, select Permalinks.



3. In the Common Settings briefly select a different setting for your permalink structure and then select your original permalink setting and click the Save Changes button at the bottom of the page.
Thanks but this didnt work. Any other suggestions ?

Offline Sport

  • Dansdeals Lifetime Platinum Elite
  • *******
  • Join Date: Dec 2013
  • Posts: 1981
  • Total likes: 34
  • DansDeals.com Hat Tips 0
    • View Profile
Re: Website development and design troubleshooting/ question
« Reply #4 on: May 15, 2015, 11:56:08 AM »
I figured it out. Played around with some of the settings on the page.
This was after changing some of the coding in the c-Panel file manager,( as suggested by some website) didnt work.

Offline smurf

  • Dansdeals Presidential Platinum Elite
  • ********
  • Join Date: Sep 2010
  • Posts: 4388
  • Total likes: 0
  • DansDeals.com Hat Tips 8
    • View Profile
  • Location: NJ
Re: Website development and design troubleshooting/ question
« Reply #5 on: June 04, 2015, 01:21:35 AM »
I have a HTML form that has an onsubmit event that should trigger a Javascript function. the function does some cleanup on the form values before submitting it
 the function triggers fine in Chrome and FF but not in ie.

the syntax is

<form id="myform" class="inline-form" name="myform" action="url" method="post" onSubmit="before_submit()" autocomplete="off">

In chrome and FF the function "before_submit()" fires while in IE it posts the form without running the function??

TIA

Offline yesitsme

  • Dansdeals Platinum Elite + Lifetime Gold Elite
  • ******
  • Join Date: Dec 2014
  • Posts: 806
  • Total likes: 18
  • DansDeals.com Hat Tips 4
    • View Profile
    • perpetual talk
be conservative in what you do, be liberal in what you accept from others.

Offline smurf

  • Dansdeals Presidential Platinum Elite
  • ********
  • Join Date: Sep 2010
  • Posts: 4388
  • Total likes: 0
  • DansDeals.com Hat Tips 8
    • View Profile
  • Location: NJ
Re: Website development and design troubleshooting/ question
« Reply #7 on: June 04, 2015, 01:56:18 AM »
what is the js code?

can't post the function right now. But that definitely isn't the problem.
The solution I have so far is that I have "return verify()" that I use in the onclick of the submit button that makes sure all the fields are filled. When I put the before_submit() caller in the verify() function it works.
Seems like ie handles form.onsubmit functions differently.

Offline yesitsme

  • Dansdeals Platinum Elite + Lifetime Gold Elite
  • ******
  • Join Date: Dec 2014
  • Posts: 806
  • Total likes: 18
  • DansDeals.com Hat Tips 4
    • View Profile
    • perpetual talk
Re: Website development and design troubleshooting/ question
« Reply #8 on: June 04, 2015, 02:17:17 AM »
can't post the function right now. But that definitely isn't the problem.
You're right IE is the problem. ;)

do you have a return false?
Quote
If the event handler is called by the onsubmit attribute of the form object, the code must explicitly request the return value using the return function, and the event handler must provide an explicit return value for each possible code path in the event handler function.

Also: http://stackoverflow.com/a/18480055/4535386
be conservative in what you do, be liberal in what you accept from others.

Online JoeyShmoe

  • Dansdeals Platinum Elite + Lifetime Gold Elite
  • ******
  • Join Date: Nov 2014
  • Posts: 977
  • Total likes: 38
  • DansDeals.com Hat Tips 0
  • Gender: Male
    • View Profile
  • Location: Lakewood
Re: Website development and design troubleshooting/ question
« Reply #9 on: June 04, 2015, 01:18:17 PM »
can't post the function right now. But that definitely isn't the problem.
The solution I have so far is that I have "return verify()" that I use in the onclick of the submit button that makes sure all the fields are filled. When I put the before_submit() caller in the verify() function it works.
Seems like ie handles form.onsubmit functions differently.

Are you sure that the function isn't firing? Maybe it's going through it and isn't finding any errors for whatever reason? Adding a
Code: [Select]
console.log('test'); anywhere in the function should be able to confirm that.
DDF A-Z Link Extension
Chrome
Firefox
Info

Offline smurf

  • Dansdeals Presidential Platinum Elite
  • ********
  • Join Date: Sep 2010
  • Posts: 4388
  • Total likes: 0
  • DansDeals.com Hat Tips 8
    • View Profile
  • Location: NJ
Re: Website development and design troubleshooting/ question
« Reply #10 on: June 04, 2015, 07:38:10 PM »
Are you sure that the function isn't firing? Maybe it's going through it and isn't finding any errors for whatever reason? Adding a
Code: [Select]
console.log('test'); anywhere in the function should be able to confirm that.
I put an alert() as the first line of the function and nothing. It's like YIM said
You're right IE is the problem. ;)

do you have a return false?
Also: http://stackoverflow.com/a/18480055/4535386
It looks like the onsubmit in IE can only handle Return True/false. Whereas I simply wanted to execute the function

Offline yesitsme

  • Dansdeals Platinum Elite + Lifetime Gold Elite
  • ******
  • Join Date: Dec 2014
  • Posts: 806
  • Total likes: 18
  • DansDeals.com Hat Tips 4
    • View Profile
    • perpetual talk
Re: Website development and design troubleshooting/ question
« Reply #11 on: June 04, 2015, 10:53:06 PM »
I you copy paste your JS than people could try to help you do it right, other wise go figure it out. just saying
be conservative in what you do, be liberal in what you accept from others.

Online etech0

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Dec 2013
  • Posts: 8582
  • Total likes: 137
  • DansDeals.com Hat Tips 1
    • View Profile
  • Location: not lakewood
  • Programs: DDF
Re: Website development and design troubleshooting/ question
« Reply #12 on: August 12, 2015, 12:50:05 PM »
Is there a way to search my wordpress Uploads folder, to clean out any files that are not referenced anywhere on my site?
TY
Workflowy. You won't know what you're missing until you try it.

Online JoeyShmoe

  • Dansdeals Platinum Elite + Lifetime Gold Elite
  • ******
  • Join Date: Nov 2014
  • Posts: 977
  • Total likes: 38
  • DansDeals.com Hat Tips 0
  • Gender: Male
    • View Profile
  • Location: Lakewood
Re: Website development and design troubleshooting/ question
« Reply #13 on: August 12, 2015, 01:08:14 PM »
Is there a way to search my wordpress Uploads folder, to clean out any files that are not referenced anywhere on my site?
TY

Try this from SO
DDF A-Z Link Extension
Chrome
Firefox
Info

Online etech0

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Dec 2013
  • Posts: 8582
  • Total likes: 137
  • DansDeals.com Hat Tips 1
    • View Profile
  • Location: not lakewood
  • Programs: DDF
Re: Website development and design troubleshooting/ question
« Reply #14 on: August 12, 2015, 01:12:53 PM »
Try this from SO
Will it also find images that are used on custom pages, or even hardcoded into PHP (I know, I know...)?
Workflowy. You won't know what you're missing until you try it.