Title: personal php scripts
Last modified: August 20, 2016

---

# personal php scripts

 *  [koiti](https://wordpress.org/support/users/koiti/)
 * (@koiti)
 * [14 years ago](https://wordpress.org/support/topic/personal-php-scripts/)
 * hy guys.
    i am making this homepage: [http://www.createyourregion.at/](http://www.createyourregion.at/).
   in the homepage i also include some personal php scripts which all work fine 
   without wordpress. my wordpress also works fine without the scripts. BUT the 
   dont work together. when i include my scripts, only the “home” button of the 
   menue is loaded. what am i doing wrong?
 * thanks

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years ago](https://wordpress.org/support/topic/personal-php-scripts/#post-2754764)
 * Start by checking your server’s error logs.
 *  Thread Starter [koiti](https://wordpress.org/support/users/koiti/)
 * (@koiti)
 * [14 years ago](https://wordpress.org/support/topic/personal-php-scripts/#post-2754785)
 * i cant get the logs, but i get some warnings
 * Warning: mysql_real_escape_string(): 15 is not a valid MySQL-Link resource in/
   home/.sites/35/site2215/web/wp-includes/wp-db.php on line 787
 * Warning: mysql_error(): 15 is not a valid MySQL-Link resource in /home/.sites/
   35/site2215/web/wp-includes/wp-db.php on line 1098
 * thanks for help
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years ago](https://wordpress.org/support/topic/personal-php-scripts/#post-2754810)
 * What happens when you remove your scripts?
 *  Thread Starter [koiti](https://wordpress.org/support/users/koiti/)
 * (@koiti)
 * [14 years ago](https://wordpress.org/support/topic/personal-php-scripts/#post-2754886)
 * then every thing is allright
 *  Thread Starter [koiti](https://wordpress.org/support/users/koiti/)
 * (@koiti)
 * [14 years ago](https://wordpress.org/support/topic/personal-php-scripts/#post-2754889)
 * is it possible that i use a variable which is allready declared?
 *  Thread Starter [koiti](https://wordpress.org/support/users/koiti/)
 * (@koiti)
 * [14 years ago](https://wordpress.org/support/topic/personal-php-scripts/#post-2754907)
 * > Warning: mysql_error(): 15 is not a valid MySQL-Link resource in /home/.sites/
   > 35/site2215/web/wp-includes/wp-db.php on line 1098
 * i think the problem is that wordpress loses the db-connection but i dont know
   why it get it back later for the titel of the post and so on,….
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years ago](https://wordpress.org/support/topic/personal-php-scripts/#post-2754918)
 * [Turn debug on](http://codex.wordpress.org/Editing_wp-config.php#Debug) and [enable error logging](http://codex.wordpress.org/Editing_wp-config.php#Configure_Error_Log).

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

The topic ‘personal php scripts’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/personal-php-scripts/#post-2754918)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
