Author Topic: [SOLVED] Adding New Item Error  (Read 2433 times)

Offline Merch

[SOLVED] Adding New Item Error
« on: September 10, 2007, 03:31:56 pm »
Once I drag my new item php file into the "Sources/shop/items" folder I get this error when I click Add/Edit/Delete Items....

#
Fatal error: Cannot redeclare class item_displaymessage in /home/tmuch3/public_html/forums/Sources/shop/items/DisplayMessage.php on line 33

But when I take the file out of the directory I can get into the menu to add items...

Offline inkstains

Re: Adding New Item Error
« Reply #1 on: September 10, 2007, 03:45:35 pm »
basically it's miss-named i believe

either change the name of the file to

displaymessage.php

or edit the file and change this

item_displaymessage

to

item_DisplayMessage

Offline Merch

Re: Adding New Item Error
« Reply #2 on: September 10, 2007, 03:58:55 pm »
Thanks!

Offline inkstains

Re: [SOLVED] Adding New Item Error
« Reply #3 on: September 10, 2007, 09:06:36 pm »
no prob happens to everyone