Title: WP issue, or server issue?
Last modified: August 19, 2016

---

# WP issue, or server issue?

 *  Resolved Anonymous User
 * (@anonymized-3085)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/wp-issue-or-server-issue/)
 * I’m currently unable to test my own plugin (eshop) on my test site: [http://eshop.quirm.net/](http://eshop.quirm.net/).
   Here is the snipper of code I’ve narrowed the problem down to:
 *     ```
       if(get_option('eshop_checkout')!=''){
        if( $wp_rewrite->using_permalinks()){
         //$p->autoredirect=get_permalink(get_option('eshop_checkout')).'?action=redirect';
         $p->autoredirect=$this_script.'/index.php?page_id='.get_option('eshop_checkout').'&amp;action=redirect';
        }else{
         //$p->autoredirect=get_permalink(get_option('eshop_checkout')).'&amp;action=redirect';
         $p->autoredirect=$this_script.'/index.php?page_id='.get_option('eshop_checkout').'&amp;action=redirect';
        }
       }
       ```
   
 * The $p->autorediect is then added to the action part of a form. eg.
    `<form method
   ="post" action="http://eshop.quirm.net/index.php?page_id=4&amp;action=redirect"
   >` Until today the plugin has been working fine with the 2 commented out lines,
   but it appears something has changed somewhere, and I have tried many variations
   before coming up with the change above. But surely there must be something else
   wrong.
 * recently my web hosting went over to php 5 – could this be why the original code
   no longer works? Or could it be an apache setup difference?
 * I really am at a loss as to why my original code is no longer working. Especially
   as it works locally!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter Anonymous User
 * (@anonymized-3085)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/wp-issue-or-server-issue/#post-861475)
 * **UPDATE**
 * also happening on a live site, and that was working until a few days ago so I’m
   now fairly certain this is a server issue.
 *  Thread Starter Anonymous User
 * (@anonymized-3085)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/wp-issue-or-server-issue/#post-861637)
 * Well its fixed, but not sure how or why.
 * Updated affected site to wordpress 2.6.1 via fantastico.
 * Debugged the plugin, though that is difficult with all the wordpress errors that
   come up…
 * Changes were mainly undeclared variables, but it wasn’t affecting other sites
   with the same setup – which was why I was stumped.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘WP issue, or server issue?’ is closed to new replies.

## Tags

 * [apache](https://wordpress.org/support/topic-tag/apache/)
 * [index.php](https://wordpress.org/support/topic-tag/index-php/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [server](https://wordpress.org/support/topic-tag/server/)

 * 2 replies
 * 1 participant
 * Last reply from: Anonymous User
 * Last activity: [17 years, 8 months ago](https://wordpress.org/support/topic/wp-issue-or-server-issue/#post-861637)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
