Jump to content


Shrink don't shrink?

  • Please log in to reply
2 replies to this topic

#1 RunePlanet

  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 21 January 2013 - 01:16 PM


When i try to shrink a link it just says shrinking and don't actually shrink it?

Whats the cause to this?

Anyone have any idea


Ps: this is an Adf.ly Clone , all i done was modify style

#2 Jessica

  • Staff Alumni
  • This is not my name.
  • 8,982 posts
  • LocationDallas, TX
  • Age:26

Posted 21 January 2013 - 01:33 PM

My goal in replying to posts is to help you become a better programmer, including learning how to debug your own code and research problems. For that reason, rather than posting the solution, I reply with tips and hints on how to find the solution yourself. See below for useful links when you get stuck.

How to Get Good Help: How to Ask Questions | Don't be a help vampire
Debugging Your Code: Debugging your SQL | What does a php function do? | What does a term mean? | Don't see any errors?
Things You Should Do: Normalize Your Data | use print_r() or var_dump()
Lulz: "Functions should not have side effects." - trq

Please take a look at my new PHP/Web Dev blog: The Web Mason - Thanks!!

#3 Christian F.

Christian F.
  • Staff Alumni
  • Advanced Member
  • 3,106 posts
  • LocationNorway

Posted 21 January 2013 - 01:35 PM

Yes, I do have an idea.

What I did was to simply open the page in my browser (Opera), open up the development tools (Dragonfly), and then click on the "Network" tab. Once I reloaded the page, I tested submitting an URL for shrinking, and this was the HTTP response I got from the server:
HTTP/1.1 403 Forbidden
Date: Mon, 21 Jan 2013 13:34:23 GMT
Server: Apache
Content-Length: 339
Keep-Alive: timeout=5, max=75
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1

<title>403 Forbidden</title>
<p>You don't have permission to access /Shortener/ajax.php
on this server.</p>
<p>Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.</p>

Basic debugging, in other words. Now that I've told you how to do this, I'm sure you can do it on your own the next time. Right? ;)

PS: Also, I recommend seeing the "How to ask questions" link in Jessica's signature above.

Edited by Christian F., 21 January 2013 - 01:36 PM.

Keeping it simple.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users