Compilation of Known Issues in v1.3.4

Forum
Last Post
Threads / Messages
Known Notices/Errors in Mysidia v1.3.4 and Solutions

"NOTICE" ERRORS - (These are non-vital and mostly annoying.)
While installing...
Notice: Undefined index: rewardmoney in C:\wamp64\www\mysiul\install\sitesetting.php on line 29
Notice: Undefined index: enabletrades in C:\wamp64\www\mysiul\install\sitesetting.php on line 30
Notice: Undefined index: tradecost in C:\wamp64\www\mysiul\install\sitesetting.php on line 31
Notice: Undefined index: tradeoffercost in C:\wamp64\www\mysiul\install\sitesetting.php on line 32
The four above can all be solved by commenting out or removing those lines. They appear to have been accidentally left in as nothing references them. However, by the time you see these, you won't need to worry about them. (No errors occur by them not being defined as they are not even used.)

Visiting site for the first time...
Notice: Undefined variable: controller in C:\wamp64\www\mysiul\classes\class_language.php on line 111
Above the if statement on line 108, add:
PHP:
$controller = "";

Notice: Undefined property: FormRenderer::$thematicBreak in C:\wamp64\www\mysiul\classes\class_guirenderer.php on line 184
Notice: Undefined property: ListRenderer::$thematicBreak in C:\wamp64\www\mysiul\classes\class_guirenderer.php on line 184
Notice: Undefined property: DocumentRenderer::$thematicBreak in C:\wamp64\www\mysiul\classes\class_guirenderer.php on line 184
Change the line to check if the property has been set with:
PHP:
if(isset($this->thematicBreak)){ $this->renderThematicBreak();}

Notice: Undefined variable: mybbenabled in C:\wamp64\www\mysiul\login.php on line 23
Change line 23 to
PHP:
if (isset($mybbenabled) && $mybbenabled == 1){ $mysidia->user->loginforum(); }

When viewing a profile...
Notice: Undefined property: UserProfile::$usergroup in C:\wamp64\www\mysiul\classes\class_userprofile.php on line 30
Notice: Undefined variable: ccstat in C:\wamp64\www\mysiul\classes\class_userprofile.php on line 31
Change lines 30 and 31 to:
PHP:
 if (isset($this->usergroup)) { $ccstats = cancp($this->usergroup); } else { $ccstats = cancp(0); }
$this->username = ($ccstats == "yes")?"<img src='templates/icons/star.gif' /> {$this->username}":$this->username;

Sending a PM...
Notice: Undefined variable: user in C:\wamp64\www\mysiul\view\messagesview.php on line 76
Above the variables on line 73, let's put in:
PHP:
if (!isset($user)){ $user = ""; }

Breeding...
Notice: Undefined variable: settings in C:\wamp64\www\mysiul\view\breedingview.php on line 33
Notice: Trying to get property of non-object in C:\wamp64\www\mysiul\view\breedingview.php on line 33
Replace lines 32 through 34 with this:
PHP:
 $document->addLangvar($this->lang->default);
if (isset($settings)){
$document->addLangvar($this->lang->money);
$document->addLangvar("{$settings->cost} {$mysidia->settings->cost}");
}
$document->addLangvar($this->lang->warning.$this->lang->select);

Members List (and any other page with pagination, possibly)
Notice: Undefined variable: margin in C:\wamp64\www\mysiul\classes\class_pagination.php on line 51
Notice: Undefined variable: padding in C:\wamp64\www\mysiul\classes\class_pagination.php on line 51
Replace line 51 with:
PHP:
if(isset($margin) || isset($padding)){

Terms of Service...
Notice: Undefined property: TosView::$flags in C:\wamp64\www\mysiul\view\tosview.php on line 6
Replace line 6 with:
PHP:
if(isset($this->flags)) $this->redirect(3, "index");


.
.
.
.
.
.
.
.
.
.
.
.

FATAL ERRORS
When Trying to Login (or view any page that requires it)
Fatal error: Class 'AppController' not found
Either your config file wasn't set up right (not mentioning if you're a subfolder, or if you're trying to use a backup in a new directory), or, more likely, something is wrong with your .htaccess file. Make sure the .htaccess file is NOT a .txt file and that it exists. Here's the contents of mine (try pasting it in and saving - make sure there is no file extension). Read up on .htaccess files for more information.
PHP:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{HTTP_HOST} ^www\.(.*) [NC]
RewriteRule ^ http://%1%{REQUEST_URI} [L,R=301]
RewriteCond %{REQUEST_URI} !\.(js|css|gif|jpg|png|ico|txt)$ [NC]
RewriteRule ^(.*)$ index.php [QSA,L]
RewriteRule ^get/([0-9]+).gif$ /click/siggy/$1 [L]

Inside the Admin Panel
Fatal error: Class 'AppController' not found
See above, this is my .htaccess file inside the admincp folder:
PHP:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{HTTP_HOST} ^www\.(.*) [NC]
RewriteRule ^ http://%1%{REQUEST_URI} [L,R=301]
RewriteCond %{REQUEST_URI} !\.(js|css|gif|jpg|png)$ [NC]
RewriteRule ^(.*)$ index.php [QSA,L]


.
.
.
.
.
.
.
.
.
.
.
.

DISPLAY ISSUES
The admin panel has a broken tinypic header image. You can set your own image on line 6 in templates/acp/template.tpl. If you'd like it to be in the nearby media folder, see this thread: http://www.mysidiaadoptables.com/forum/project.php?issueid=61 It should be about 990px wide. (If the column width is bothersome, it can also be fixed here.)

Backslashes Beside Apostrophes in profile comments and bios are always lead by a \, presumably for security reasons. The slashes can be removed before display by going into class_messagetablehelper.php and changing this line (163) in function getVisitorMessage:
PHP:
$vmField->add(new Comment($vmessage->vmtext));
To:
PHP:
$msg = stripslashes($vmessage->vmtext);
$vmField->add(new Comment($msg));
Inside class_userprofile.php, around line 123, replace this:
PHP:
 $basicinfo = "<br><strong>Member Since:</strong> {$membersince}<br>
Gender: {$this->gender}<br>
Favorite Color: {$this->color}<br>
Nickname: {$this->nickname}<br>
Bio: {$this->bio}";
With this:
PHP:
 $str_bio = stripslashes($this->bio);
$basicinfo = "<br><strong>Member Since:</strong> {$membersince}<br>
Gender: {$this->gender}<br>
Favorite Color: {$this->color}<br>
Nickname: {$this->nickname}<br>
Bio: {$str_bio}";


.
.
.
.
.
.
.
.
.
.
.
.

ADDITIONAL BUGS
In addition I've also implemented the fixes for these bugs:

Reading & Deleting Others' Private Messages
http://www.mysidiaadoptables.com/forum/project.php?issueid=57

Inputting decimal value to shop item quantity gives full item at half price
http://www.mysidiaadoptables.com/forum/project.php?issueid=55

The format function is stripping out "rn" from words.
http://www.mysidiaadoptables.com/forum/project.php?issueid=56

Pagination past 9 or 10 breaks.
http://www.mysidiaadoptables.com/forum/project.php?issueid=54

Strict Standards errors (downloaded all attachments here and replaced them):
http://www.mysidiaadoptables.com/forum/project.php?issueid=53

Can't Log In from a Profile Page
http://www.mysidiaadoptables.com/forum/project.php?issueid=50

Item Shop Validation (Items not in shop can be hacked into the shop and bought.)
http://www.mysidiaadoptables.com/forum/project.php?issueid=48

Nesting level too deep - recursive dependency?
http://www.mysidiaadoptables.com/forum/project.php?issueid=37

Glitch with dropdown list at breeding page (added fillReverse function to dropdownlist)
http://www.mysidiaadoptables.com/forum/project.php?issueid=45

View Outbox bug (setFlagss instead of setFlags)
http://www.mysidiaadoptables.com/forum/project.php?issueid=41

Disallow Guests from "earning" currency for visiting adoptables
http://www.mysidiaadoptables.com/forum/project.php?issueid=39

UNFIXED???
http://www.mysidiaadoptables.com/forum/project.php?issueid=33

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.


ADDONS INSTALLED:
In addition to baseline bug fixing I've installed these:
- Redirect to index on Login
http://www.mysidiaadoptables.com/forum/showthread.php?t=4761
- Custom php on index page
http://www.mysidiaadoptables.com/forum/showthread.php?t=4767
- Know gender before naming pet.
http://www.mysidiaadoptables.com/forum/showthread.php?t=4722

.
.
.
.
.
.


TO DO:
I can't remember if or how I fixed these, but it'd be really nice to make sure they're implemented as to prevent potential bugs.
- Don't allow apostrophes in user or pet names.
- Don't allow pets to have blank names, if found as "" put in database as "Unnamed".

.
.
.
.
.
.
.
.
.
.
.
.

ADDONS NOT INSTALLED (but totally recommended):
After doing a fresh install I highly recommend checking out these:
Pet Profiles
http://www.mysidiaadoptables.com/forum/showthread.php?t=5448
Pet Lineages
http://www.mysidiaadoptables.com/forum/showthread.php?t=5473
Pet Birthdays
http://www.mysidiaadoptables.com/forum/showthread.php?t=4826
Item Drops
http://mysidiaadoptables.com/forum/showthread.php?t=4362
Cleaner Shop List
http://www.mysidiaadoptables.com/forum/showthread.php?t=4732
Item Shop Display
http://www.mysidiaadoptables.com/forum/showthread.php?t=4741
User Shops
http://www.mysidiaadoptables.com/forum/showthread.php?t=5541
+ Many many more!

Comments

Thx for posting this. Most will be fixed by Mys v1.3.5, and I will recommend users to upgrade to new version once it is released, unless they are on highly customized sites that cannot be upgraded. I will also update some of the mods/addons to be Mys v1.3.5 compatible(think they should since new version doesnt have many breaking changes, but a few may have minor bugs)
 
  • Forum Contains New Posts
  • Forum Contains No New Posts

Blog entry information

Author
Kyttias
Views
365
Comments
1
Last update

More entries in Mysidia

More entries from Kyttias

Forum statistics

Threads
4,277
Messages
33,118
Members
1,602
Latest member
BerrieMilk
BETA

Latest Threads

Latest Posts

Top