Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   Help with cailynmae's Explore Mod (http://www.mysidiaadoptables.com/forum/showthread.php?t=5110)

LUC1G07CH1 04-10-2016 10:32 AM

Help with cailynmae's Explore Mod
 
When i use it,these massages just appears:

Explore home:
Parse error: syntax error, unexpected 'bl' (T_STRING), expecting function (T_FUNCTION) in /home/enchante/public_html/view/exploreview.php on line 10

exploreforest.php
Fatal Error: Class ExploreforestController either does not exist, or has its include path misconfigured!

explorepublicgarden.php
Parse error: syntax error, unexpected ')' in /home/enchante/public_html/view/explorepublicgardenview.php on line 36

So i need help,because the explore mod who works actually just gives items and isn't all of the locations...

Links:

cailynmae's Explore Mod: Here.

RestlessThoughts 04-10-2016 12:25 PM

Inside ExploreView.php you will see }bl near the bottom. Delete the bl.

Make sure you created the exploreforest.php file and that the class is named ExploreforestController inside the file. It may be misspelled.

When you add or edit a new item to find make sure you follow the syntax:
$document->add(new Comment("Oh look! You found a <b>$item</b>!", FALSE));

Beware of missing commas or quote marks - this throws errors:
$document->add(new Comment("Oh look! You found a <b>$item</b>!, FALSE));

There's probably a missing quote mark near line 36. If you don't have a text editor that shows line numbers I recommend Sublime Text 3.

If you can't spot the errors feel free to copy/paste your code.

LUC1G07CH1 04-12-2016 03:12 PM

Thank you! Everything must work fine as i find what is exactly a quote mark... I'm just a completelly newbie :T


All times are GMT -5. The time now is 10:08 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.