Jump to content

Help with a tagboard script.


refinedandroid

Recommended Posts

Hi, I've somehow managed to mess up my tagboard. It used to work fine, but upon changing to a new server it is no longer working. I'd be willing to pay someone to help me fix it. Please do not delete this, I read the rules and I'm not very good at PHP so I won't really know if I'm doing something wrong.. Anyway.. I did troubleshoot it myself, but as I said, not much luck.

 

The page is here: http://www.fiel-capilla.com. You can see the error on the left in the tag board.

 

a) Your PHP version, platform (operating system), and webserver - I'm not sure.

B) Your hosting company - Ipowerweb

c) Pertinent php.ini settings (SafeMode=On, for example). - I have no idea what this is.

d) Error messages if any are generated - YOu can see them on the left.

 

Please, please someone help me out here..

Link to comment
Share on other sites

refinedandroid,

 

Here are your error messages:

 

 

Notice: Undefined variable: submit in C:\Accounts\fielcap\wwwRoot\tag.php on line 24

 

Notice: Undefined index: name in C:\Accounts\fielcap\wwwRoot\tag.php on line 36

 

Notice: Undefined index: email in C:\Accounts\fielcap\wwwRoot\tag.php on line 37

 

Notice: Undefined index: entry in C:\Accounts\fielcap\wwwRoot\tag.php on line 38

 

Notice: Undefined variable: submit in C:\Accounts\fielcap\wwwRoot\tag.php on line 72

 

Access denied for user: 'fielcap_admin@localhost' to database 'fielcap_tagboard'

 

The "Notice" errors won't cause your script to "break", but may be showing up now because of error level messaging differences between your old and new server.

 

The error to be concerned about it the last one:  Access Denied for User...  You need to define this user in your new environment... You probably have to "re-install" tagboard as well, so that the databases, and tables it uses are defined, and populated.

 

Scot L. Diddle, Richmond VA

 

 

 

 

Link to comment
Share on other sites

Hello. I have reinstalled the tagboard. This is what I get now:

 

Notice: Undefined variable: submit in C:\Accounts\fielcap\wwwRoot\tag\tag.php on line 17

 

Notice: Undefined index: name in C:\Accounts\fielcap\wwwRoot\tag\tag.php on line 23

 

Notice: Undefined index: email in C:\Accounts\fielcap\wwwRoot\tag\tag.php on line 24

 

Notice: Undefined index: comment in C:\Accounts\fielcap\wwwRoot\tag\tag.php on line 25

 

Notice: Undefined variable: submit in C:\Accounts\fielcap\wwwRoot\tag\tag.php on line 48

Table 'fielcap_tag.tag' doesn't exist

 

I would like for these notices to be removed if they are not problematic. How do I do that? As for the last error, what does it mean? This is really upsetting me. 

 

Thanks for trying to help.

Link to comment
Share on other sites

refinedandroid,

 

From: http://www.php.net/error_reporting

 


<?php

// Turn off all error reporting
error_reporting(0);

// Report simple running errors
error_reporting(E_ERROR | E_WARNING | E_PARSE);

// Reporting E_NOTICE can be good too (to report uninitialized
// variables or catch variable name misspellings ...)
error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE);

// Report all errors except E_NOTICE
// This is the default value set in php.ini
error_reporting(E_ALL ^ E_NOTICE);

// Report all PHP errors (bitwise 63 may be used in PHP 3)
error_reporting(E_ALL);

// Same as error_reporting(E_ALL);
ini_set('error_reporting', E_ALL);

?> 

 

In your case, use this one:

 

// Report all errors except E_NOTICE

// This is the default value set in php.ini

error_reporting(E_ALL ^ E_NOTICE);

 

As for what the last error means, I don't know, but it sounds like it's generated from the application instead of PHP.

 

It is probably one of your MySQL tables related to the program product... Use phpMyAdmin ( or some such tool ) to view the tables defined in your tagboard dataspace and see if it is there.  Review your installation instructions to see if it is required. ( Probably is... )

 

Good luck.

 

Scot L. Diddle, Richmond VA

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.