How to install Website Based Backend on shared hosting

Uber clone for Web
fawkes027
Posts: 5
Joined: Wed Nov 18, 2015 8:01 pm

How to install Website Based Backend on shared hosting

Postby fawkes027 » Thu Nov 19, 2015 10:59 am

How do I install Website Based Backend on my shared hosting?
My shared hosting do not allow SSH.

I have installed Composer with this source https://github.com/CurosMJ/NoConsoleComposer
My root directory
xt2.jpg
xt2.jpg (188.24 KiB) Viewed 3489 times

My vendor directory:
xt.jpg
xt.jpg (189.66 KiB) Viewed 3489 times

Then I got blank page:
blanc.jpg
blanc.jpg (52.86 KiB) Viewed 3489 times

Divyang Metaliya
Posts: 130
Joined: Mon Sep 21, 2015 6:15 am

Re: How to install Website Based Backend on shared hosting

Postby Divyang Metaliya » Mon Nov 30, 2015 11:58 am

hello,

For this error solution,

you add folder in public_html folder of your server

and upload database and give database connection for this app...


remove public folder in your code
and set path in 'public' => __DIR__.'/../public',

To
'public' => __DIR__.'/../',

<App name>/bootstrap/paths.php



and set path in require __DIR__.'/../bootstrap/autoload.php';

To

require __DIR__.'/bootstrap/autoload.php';

$app = require_once __DIR__.'/../bootstrap/start.php';

TO

$app = require_once __DIR__.'/bootstrap/start.php';


<App name>/index.php file

and after all this run only Domain name in your browser

if any error so set path in uberforx/app/helper.php


function asset_url() {
return URL::to('YOUR DOMAIN NAME');
}



function web_url() {
return URL::to('YOUR DOMAIN NAME');
}


let me know if it helps...

Thanks...


Return to “UberX for Web”

Who is online

Users browsing this forum: No registered users and 1 guest