Turn Your Vehicle Into a Smart Earning Asset

While you’re not driving your car or bike, it can still be working for you. MOTOSHARE helps you earn passive income by connecting your vehicle with trusted renters in your city.

🚗 You set the rental price
🔐 Secure bookings with verified renters
📍 Track your vehicle with GPS integration
💰 Start earning within 48 hours

Join as a Partner Today

It’s simple, safe, and rewarding. Your vehicle. Your rules. Your earnings.

Setup phpvibe and mediavide with subdirectory

Checklist 1 – Content of .htacces


$ more .htaccess
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /video
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/?$ index.php [L]
</IfModule>
<ifModule mod_headers.c>
    Header set Access-Control-Allow-Origin: *
</ifModule>Code language: HTML, XML (xml)

Checklist 2 – Make sure admin user is created in database table vibe_users

Checklist 3 – Mcrypt must be installed

Checklist 4 – php -version


$ php -version
PHP 7.1.33 (cli) (built: Dec 17 2019 23:26:37) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.1.33, Copyright (c) 1Code language: JavaScript (javascript)

Checklist 5 – sql_mode is disable

To check whether strict mode is enabled or not run the below sql:
SHOW VARIABLES LIKE ‘sql_mode’;
Reference – https://stackoverflow.com/questions/40881773/how-to-turn-on-off-mysql-strict-mode-in-localhost-xampp

Checklist 6 – Remove a cache moderator\cache

Checklist 7 – Disable mod_security by adding following code in .htaccess


<IfModule mod_security.c>
  
  SecFilterEngine Off
  
  SecFilterScanPOST Off

</IfModule>
Code language: HTML, XML (xml)

Checklist 8 – edit vibe_options table with vibe_options

UPDATE `vibe_options` SET `option_value` = 'videos' WHERE `vibe_options`.`option_id` = 39;Code language: JavaScript (javascript)

Some Suggestions

  • Open the admin, go to Settings -> Permalinks section and set tv in the base path field.
  • Open the main .htaccess file and change RewriteRule from / to /tv
  • Open vibe_config.php and change the site_url field to the new link of the site.

Last Solutions for sub directory


If you can't open the admin panel, open index.php and find

if(!nullval(get_option('SiteBasePath',null))) {
$router->setBasePath('/'.get_option('SiteBasePath'));
} 

Replace it with

$router->setBasePath('/videos');Code language: PHP (php)
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.

0
Would love your thoughts, please comment.x
()
x