Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

UniServer 3.3

Featured Replies

While demonstrating the flexibility of UniServer 3.3, I was surprised to find changing the drive letter to anything other than W produced a recursive loop my browser (Firefox 1.0.1) trying to continually load cpanel. There were a few other errors thrown in while testing "redirection limit of this URL exceeded"

 

Apache error log showed a file could not be found interestingly it started with W: the cause was traced to

file config.ini.php

located in diskw/home/admin/www/includes

 

The offending line: $drive = "W:";

Replace with this: $drive = $_ENV['Disk'] . ":";

 

It gets the environment variable as set (set Disk=%1) in the start-up batch file.

 

======== config.ini.php Code Snippet=======

/* Globals */

// Version

$version = "2.0";

$uniserver = file_get_contents("includes/.version");

 

/* Path variables - NO BACKSLASH */

// Local Variables

//$drive = "W:";

drive = $_ENV['Disk'] . ":";

 

$usr = "$drive/usr";

$www = "$drive/www";

$home = "$drive/home";

=========================

 

One final comment MySQL 4 and 5 are incompatible. I found 5 would not accept my 4 backups. Answer to this I just ripped out the 5 code and inserted 4 taken from 3.2a.

 

Cpanel I like with the exception of the fancy scroller (well that's going to be removed). Credit to the development team an excellent piece of work. :(

Thanks, and for the code, thanks a lot. Was looking for that code when i made that file and i know it causes a lot of problems for some.

 

About the scroller, should be gone by next version.

 

About MYSQL, i am sure that there will be a way to do it, just ask in any MySQL forum or chatroom or IRC Channel. I know you can export MYSQL 5 databases as 4.0 or 4.1 but not the importing.

 

Thanks again.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.