How to fix (blowfish_secret) is not the correct length

after installing phpMyAdmin you migh face this error in the footer :

The secret passphrase in configuration (blowfish_secret) is not the correct length. It should be 32 bytes long.

the solution is very easy, just login to your server ssh and edit this file using nano or your preferd editor :

nano /etc/phpMyAdmin/config.inc.php

search for

$cfg['blowfish_secret']

change its value to a 32 lenght new secret

you can use this tool to generate a 32 lenght secret.

the final line should look like :

$cfg[‘blowfish_secret’] = ‘WVHvIdiv1YGDED4umrVEsf2aijWTM6IL’;

now save the file, log out of phpMyAdmin and login again 😉

How To Change Laravel directory from public to public_html directory

If you’re using cPanel or VestaCP and you don’t wanna go through creating directory Symbolic link “symlink” you can make this change and just upload the public directory files to public_html instead

go to bootstrap/app.php and find :

$app = new Illuminate\Foundation\Application(
$_ENV['APP_BASE_PATH'] ?? dirname(DIR)
);

add this code after it :

$app->bind('path.public', function ()
{
return base_path() . '/public_html';
});

save and upload.

if you need help with your laravel script installation create a ticket from here

Using Minio with phpSound

in order to use Minio with phpSound you will have to edit the following file :

includes/misc.php

add this :

    'endpoint' => 'https://your.endpoint.com',
    'bucket_endpoint' => false,
    'use_path_style_endpoint' => true,

after :

'region' => $settings['as3_region'],

then go to your admin panel -> Site Settings -> Storage

add your details and make sure to pick

Region : us-east-1

if you need more help feel free to contact me.

Quickad Arabic Translation

Arabic translation file. revised to replace the original automated translation for Quickad PHP Script by bylancer version 9.2.
for later versions please send us the file and i will update it.
you can download it from here.

Installation :

remove the .txt and just upload it to :

includes/lang/lang_arabic.php

and replace the old file.

Codecanyon Installation Service

if you need help installing any codecanyon PHP Script, Android or IOS App feel free to contact me i will be happy to install it for you in no time..

this includes setting
– Facebook Apps
– Google Map API
Back4App
– Mysql Databases
– Google Firebase

Apps I installed for Clients :

– Android Music Player – Online MP3 (Songs) App
version 25-October-2019 from viaviwebtech
Store link : https://play.google.com/store/apps/details?id=com.sm3na.mh

– Bazaar | Web PHP Social Listings/Classifieds Shopping Template
version 4 November 19 from xscoder
Website : https://www.egyptdrinks.com


PHPSound Sitemap & tweaks

this is some tweaks and modifications i made to PHPSound 😉

feel free to buy me a coffee if you found it usefull

Edit the Twitter share text to add your website name as a #hashtag :

1- go to themes/sound/js/functions.js

2- search for :

else if(social == 2)

3- edit this line as you wish

window.open(“https://twitter.com/intent/tweet?text=”+title+”&url=”+url, “”, “width=500, height=250”);

a demo for you (change SiteName to your site) :

window.open(“https://twitter.com/intent/tweet?text=Listen+to+”+title+”&url=”+url+”&hashtags=SiteName”, “”, “width=500, height=250”);

Add Sitemap to use it with Google Webmaster tools :

1 – Download this file and unzip it.

2- upload sitemap.php to your script main folder.

3- go to your Google Webmaster tools console and pick your website.

4- go to Crawl -> Sitemaps and click Add/Test Sitemap then write the following and Submit :

sitemap.php

sitemap.php?op=usongs

Create robots.txt and copy the text below to it :

User-agent: *
Disallow: /themes/

contact me if you need me to install the latest version (6.5.0 – 18 March 2021) for you.

if you found this post useful feel free to offer me a cup of coffee 😉