I Failed Hosting



  • I have uploaded my data, for hosting data files
    what should I upload ??
    I use 000webhost
    0_1558407427523_image.png

    the result is like this
    0_1558407537652_image.png



  • Do you have access to log files from your webhost to get more details of the HTTP ERROR 500?

    If you add /index.php to your domain, do you see something? If yes, there is an issue with mod_rewrite and nice URLs.

    Does your webhost meet the IdeaSpaceVR requirements: https://www.ideaspacevr.org/documentation



  • @WeddingDJ yes I have followed the procedure and managed to make a photo sphere move, so it can be accessed on phpmyadmin's dilocallhost. I have imported the database into web hosting and also imported some ideaspace files that are on htdocs, but they don't appear.
    Anda bisa melihat letak kesalahan ketika mengunjungi link tersebut..



  • So you could log in and uploaded a photosphere?

    Are the DB connection settings still the same? You can take a look in config/database.php. Did you check the php logs? Did you check the IdeaSpaceVR logs in storage/logs/laravel.log?



  • @WeddingDJ When creating in phpmyadmin, i managed to enter and upload a photo sphere arrangement and create a room transfer hotspot.

    For web hosting I haven't changed the DB connection, and I haven't checked the logs / laravel.log.
    what should I change in that file?



  • What should I adjust in this file?
    some time ago I changed and adjusted the data address like webhosting but did not manage to access it, please guide it ...



  • @WeddingDJ what should I check on the IdeaSpaceVR storage / logs / laravel.log file page? is there anything that must be changed?

    0_1558593276505_image.png



  • @Aditya10115175 I need to see the whole laravel.log, you could upload it here.

    For the database settings. I guess you use a MySQL database. You can just compare your MySQL settings with the settings in the database.php file. Make sure that host is 'localhost" (if running on the same server it is ok), that the database, username and password are still the same.

    You said some time ago you change the data address, which data address?

    I removed your database.php images as this information must stay private.



  • @WeddingDJ This is Laravel.log Data 0_1558672745571_laravel.log Or Are There Other Ways For Easy Webhosting?

    Changed File Database.php at the Connection Line, by replacing the Database name & Username provided by webhosting

    0_1558673423548_image.png

    <?php

    return [

    /*
    |--------------------------------------------------------------------------
    | PDO Fetch Style
    |--------------------------------------------------------------------------
    |
    | By default, database results will be returned as instances of the PHP
    | stdClass object; however, you may desire to retrieve records in an
    | array format for simplicity. Here you can tweak the fetch style.
    |
    */
    
    'fetch' => PDO::FETCH_CLASS,
    
    /*
    |--------------------------------------------------------------------------
    | Default Database Connection Name
    |--------------------------------------------------------------------------
    |
    | Here you may specify which of the database connections below you wish
    | to use as your default connection for all database work. Of course
    | you may use many connections at once using the Database library.
    |
    */
    
    'default' => 'mysql',
    
    /*
    |--------------------------------------------------------------------------
    | Database Connections
    |--------------------------------------------------------------------------
    |
    | Here are each of the database connections setup for your application.
    | Of course, examples of configuring each database platform that is
    | supported by Laravel is shown below to make development simple.
    |
    |
    | All database work in Laravel is done through the PHP PDO facilities
    | so make sure you have the driver for your particular database of
    | choice installed on your machine before you begin development.
    |
    */
    

    'connections' => [

        'sqlite' => [
            'driver'   => 'sqlite',
            'database' => database_path('database.sqlite'),
            'prefix'   => '',
        ],
    
        'mysql' => [
            'driver'    => 'mysql',
            'host'      => 'localhost',
            'database'  => 'adityabuanasaputra',
            'username'  => 'adityabuanasaputra',
            'password'  => '***',
            'charset'   => 'utf8',
            'collation' => 'utf8_unicode_ci',
            'prefix'    => 'isvr_',
            'strict'    => false,
        ],
    
        'pgsql' => [
            'driver'   => 'pgsql',
            'host'     => '',
            'database' => '',
            'username' => '',
            'password' => '',
            'charset'  => 'utf8',
            'prefix'   => '',
            'schema'   => 'public',
        ],
    
        'sqlsrv' => [
            'driver'   => 'sqlsrv',
            'host'     => '',
            'database' => '',
            'username' => '',
            'password' => '',
            'charset'  => 'utf8',
            'prefix'   => '',
        ],
    
    ],
    
    /*
    |--------------------------------------------------------------------------
    | Migration Repository Table
    |--------------------------------------------------------------------------
    |
    | This table keeps track of all the migrations that have already run for
    | your application. Using this information, we can determine which of
    | the migrations on disk haven't actually been run in the database.
    |
    */
    
    'migrations' => 'migrations',
    
    /*
    |--------------------------------------------------------------------------
    | Redis Databases
    |--------------------------------------------------------------------------
    |
    | Redis is an open source, fast, and advanced key-value store that also
    | provides a richer set of commands than a typical key-value systems
    | such as APC or Memcached. Laravel makes it easy to dig right in.
    |
    */
    
    'redis' => [
    
        'cluster' => false,
    
        'default' => [
            'host'     => env('REDIS_HOST', 'localhost'),
            'password' => env('REDIS_PASSWORD', null),
            'port'     => env('REDIS_PORT', 6379),
            'database' => 0,
        ],
    
    ],
    

    ];



  • @WeddingDJ Ok, you should also delete all files in storage/framework/cache/*, storage/framework/sessions/* and storage/framework/views/* - it could be that this solves your issue.



  • @Aditya10115175 If you have command line access, you would execute php artisan cache:clear



  • @WeddingDJ Sorry I just replied to the message, I deleted it and it still doesn't work. How to insert audio features in photosphere / photo-tour-pro 360?



  • @Aditya10115175 You have to implement the audio feature. I am using A-Frame as the js library https://aframe.io/



  • @WeddingDJ Good Morning, I want to ask "what kind of information system is IdeaSpace VR" and "what concept does it use in the model" MVC example (model, view, controller) or other, please explain ... 🙏



  • @Aditya10115175 I use Laravel as the PHP framework and Laravel implements the MVC pattern: there are models (in app/), controllers (in app/Http/Controllers/) and views (in resources/views/*).


Log in to reply