Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #11  
Old 07-23-2013, 02:53 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 327,826
Hall of Famer is on a distinguished road
Default

I checked your site, it looks to me that you have uploaded the entire folder named 'Mysidia Adoptables v1.3.3' to your site, and therefore the actual installation path is:

http://hatchingmagic.x10.mx/Mysidia Adoptables v1.3.3/install/index.php

I am not sure whether you like it this way though, perhaps it makes better sense to upload whatever is inside the folder Mysidia Adoptables v1.3.3 to your server rather than the folder itself?
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #12  
Old 07-24-2013, 11:09 AM
kyrctyn kyrctyn is offline
Member
 
Join Date: Jul 2013
Location: USA
Posts: 14
Gender: Female
Credits: 2,767
kyrctyn is on a distinguished road
Default

Okay, I'll try that, thank you ^^
Reply With Quote
  #13  
Old 07-24-2013, 11:24 AM
Hwona's Avatar
Hwona Hwona is offline
Member
 
Join Date: Mar 2013
Posts: 620
Gender: Female
Credits: 48,186
Hwona is on a distinguished road
Default Re

Um, just to let you know, the install thing is popping up - it works. :3
Reply With Quote
  #14  
Old 07-24-2013, 11:35 AM
kyrctyn kyrctyn is offline
Member
 
Join Date: Jul 2013
Location: USA
Posts: 14
Gender: Female
Credits: 2,767
kyrctyn is on a distinguished road
Default

Yeah, I just fixed it, but now Im getting a '404 not found' when trying to log in :/
Reply With Quote
  #15  
Old 07-24-2013, 11:50 AM
Hwona's Avatar
Hwona Hwona is offline
Member
 
Join Date: Mar 2013
Posts: 620
Gender: Female
Credits: 48,186
Hwona is on a distinguished road
Default Re

Um, since you're using 1.3.3, are you getting any wierd header errors?

Edit: Yeah, replace your class_file.php file with this:
PHP Code:
<?php

/**
 * The File Class, extending from SplFileInfo class. It is one of Mysidia system core classes.
 * It acts as an initializer and wrapper for Mysidia-specific files.
 * It implements PHP basic file functions, and adds enhanced features upon them.
 * Similar to Database class, it does not extend from Abstract Core class.
 * An instance of File class is generated upon Mysidia system object's creation. 
 * This specific instance is available from Registry, just like any other Mysidia core objects. 
 * @category Resource
 * @package Core
 * @author Hall of Famer 
 * @copyright Mysidia Adoptables Script
 * @link http://www.mysidiaadoptables.com
 * @since 1.3.2
 * @todo Complete the method move().
 */

class File extends SplFileInfo implements Initializable{

    
/**
     * The extension property, it stores the extension info of this current file.
     * @access private
     * @var String
    */    
    
private $extension;

    
/**
     * The base property, which defines the base file name. 
     * @access private
     * @var String
    */
    
private $base;

    
/**
     * Constructor of File Class, it initializes basic file properties.    
     * @access public
     * @return Void
     */    
    
public function __construct($fileurl){
        
parent::__construct($fileurl);                
        
$this->initialize();        
    }

    
/**
     * The initialize method, which handles basic include path operations.  
     * @access public
     * @return Void
     */        
    
public function initialize(){
        
$this->extension ".".$this->getExtension();
        if(
$this->checkExtension()) $this->base parent::getBasename($this->extension);        
    }
    
/**
     * The getBasename method, overrides SplFileInfo's getBasename method and offers its own definition. 
     * @access public
     * @return Void
     */    
    
public function getBasename$suffix NULL){
        return 
$this->base;
        }
    

    
/**
     * The checkExtension method, it checks whether the file extension is supported in this system.
     * This method returns a boolean value TRUE upon successful extension validation.
     * @access public
     * @return Boolean
     */        
    
protected function checkExtension(){
        
$extensions = array(".php"".js"".css"".html"".htm"".xml"".yaml"".tpl"".jpg"".gif"".png"".txt"".ttf"".psd"".db"".htaccess");
        if(!
in_array($this->extension$extensions)) throw new Exception('Invalid file extension.');
        else return 
TRUE;
    }

    
/**
     * The move method, which can move a file to desired directory.
     * This is a feature planned but not yet developed in current version.
     * @access public
     * @return Void
     */        
    
public function move(){

    }    
}
?>

Last edited by Hwona; 07-24-2013 at 12:00 PM.
Reply With Quote
  #16  
Old 07-24-2013, 12:08 PM
kyrctyn kyrctyn is offline
Member
 
Join Date: Jul 2013
Location: USA
Posts: 14
Gender: Female
Credits: 2,767
kyrctyn is on a distinguished road
Default

I just did what you said to do, but Im still getting the error when I try to login :/
Reply With Quote
  #17  
Old 07-30-2013, 03:02 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 327,826
Hall of Famer is on a distinguished road
Default

Well I think shes having a different problem, the url aint working for her. If shes still struggling next week, I will see if I can access her server/site to help her out.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #18  
Old 08-02-2013, 10:12 AM
pachoofoosh's Avatar
pachoofoosh pachoofoosh is offline
Artist
 
Join Date: Dec 2012
Location: New York
Posts: 98
Gender: Unknown/Other
Credits: 15,238
pachoofoosh is on a distinguished road
Default

I got the same error as you when I tried to install the script a couple of weeks ago. c:

I noticed that my host had switched my php version back to 5.2 for some reason and I didn't realize it. I changed my php version back and reinstalled the script under a subdirectory, and it worked then.
You could check if your php version is indeed version 5.3, and if it is, try reinstalling your site in a subfolder. c:
If you install it into a subfolder, you can easily have your users redirected from site.com to site.com/whatever by creating an index.php in public_html and adding this:
Code:
<?php
header('Location: http://www.yoursitehere.com/yoursubfoldername');
?>
If that doesn't work, try asking your host if mod_rewrite is enabled, and if it isn't, if they can enable it for you. c:

Last edited by pachoofoosh; 08-02-2013 at 10:25 AM.
Reply With Quote
  #19  
Old 10-12-2015, 02:48 AM
kyrctyn kyrctyn is offline
Member
 
Join Date: Jul 2013
Location: USA
Posts: 14
Gender: Female
Credits: 2,767
kyrctyn is on a distinguished road
Default

Goodness when was the last time i tried MysidiaAdopts. Im glad i found this cus Im having the 404 Error AGAIN. I'll follow what's here just to make sure its working (hopefully) and will post again if i have MORE issues ^^; But luckily I have a friend that codes (somewhat) so hopefully it wont be as hard to fix things as before

EDIT
Okay, fixed the 404 issue by NOT uploading the whole file, but now i get this:
Fatal error: Call to undefined method File::getExtension() in /home/a7811586/public_html/classes/class_file.php on line 51

Last edited by kyrctyn; 10-12-2015 at 03:04 AM.
Reply With Quote
  #20  
Old 10-12-2015, 03:53 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 327,826
Hall of Famer is on a distinguished road
Default

Are you still using Mys v1.3.3? The version v1.3.4 has been released quite some time ago, and its recommended that you use the new version.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
Reply

Tags
404 error, mas v1.3.3

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
install error soranagino Questions and Supports 2 01-15-2015 02:00 PM
Parse Error on clean install of 3.4 KirinCrossing Newcomer Center 3 09-09-2013 02:09 AM
Install(?) error: Unable to access site after install Catfish Questions and Supports 10 07-23-2013 11:41 PM
Error with clean install of 1.3.3? Infernette Questions and Supports 5 03-17-2013 05:53 AM
(RESOLVED) Install error please help Flexxall Questions and Supports 5 08-09-2009 10:57 AM


All times are GMT -5. The time now is 06:30 AM.

Currently Active Users: 658 (0 members and 658 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636