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.

Always refers to drive Z:, even when configured for another drive

Featured Replies

I modified the server_start.bat to use drive S:

When I run it, it does echo that it is using drive S:\

When I then click on the "Run XOOPS" item in the web page that comes up, I get a long error that shows references to drive Z:.

I checked mainfile.php, and it has a bunch of hard coded uses of Z:.

------

Warning: include(Z:/www/xoops/include/common.php) [function.include]: failed to open stream: Permission denied in S:\www\xoops\mainfile.php on line 97

 

Warning: include() [function.include]: Failed opening 'Z:/www/xoops/include/common.php' for inclusion (include_path='.;/usr/local/PHP/includes;/usr/local/PHP/pear;/home/admin/www/plugins/pear/PEAR') in S:\www\xoops\mainfile.php on line 97

 

Warning: include_once(Z:/www/xoops/class/xoopsblock.php) [function.include-once]: failed to open stream: Permission denied in S:\www\xoops\header.php on line 30

 

Warning: include_once() [function.include]: Failed opening 'Z:/www/xoops/class/xoopsblock.php' for inclusion (include_path='.;/usr/local/PHP/includes;/usr/local/PHP/pear;/home/admin/www/plugins/pear/PEAR') in S:\www\xoops\header.php on line 30

 

Fatal error: Call to a member function stopTime() on a non-object in S:\www\xoops\header.php on line 36

I have checked mini_server_21_xoops.exe there is a bug those hard coded paths should be relative. :D

 

Check out this page for a solution:

 

http://wiki.uniformserver.com/index.php/In...ops#Portability

 

Note:

When it refers to W replace with Z.

Hence you need to replace every occurrence of drive letter “Z” with the variable $_ENV['Disk'] as show in the Portability section.

 

All the best

Ric. B)

Please note new version published on SourceForge

 

mini_server_21_xoops_v1_1.exe

mini_server_21_xoops_v1_1.zip

 

Taken the opportunity to upgrade Xoops to 2.3.2b

mainfile.php: Modified to use relative paths

 

All the best

Ric

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.