Jump to content
The Uniform Server Community

im not familiar with mb extensions?


DannyH
 Share

Recommended Posts

Hi Guys (Please forgive me but very new to this!!) :)

 

First thing first (Love the uniform server) :)

 

Just wondering if anyone has ever installed Vcalendar on Uniform Server, as having a problem with the day view.

 

Requires: web server (IIS, Apache, ...), PHP 4.1 or higher (with mb extension enabled), MySQL 4.x or higher

 

im not familiar with mb extensions?

 

just need to know if its something im not doing?

 

have posted on Vcalendar Fourm but no luck, have also send them a private message.

 

Many Thanks for any help

 

Danny

Personal website

 

Uniform Server - hMail Server - Joomla

Link to comment
Share on other sites

UniServer already has mb enabled by default (mb stands for Multibyte String Functions) Characters are normally coded using a byte of data (8bits) this limits the number of character to 256. Multibyte allows you in theory to have an unlimited number of characters.

 

For information:

It uses this file (program): php_mbstring.dll

Found in *\Uniform Server\udrive\usr\local\php\extensions

 

Mb is already enabled by this line : extension=php_mbstring.dll

Found in file php.ini located in folder: *\Uniform Server\udrive\usr\local\php

 

Just for fun I downloaded the program and hit a problem as soon as I tried to install it. It transpires the program expects a server to look at files in such a way that it gives priority to files with a .php. However UniServer gives files with .hml and .html priority, which is the norm. The bottom line you need to edit the config file as follows:

 

Open file httpd.conf located in folder *\Uniform Server\udrive\usr\local\apache2\conf

Change this line:

DirectoryIndex index.html index.shtml index.html.var index.htm index.php3 index.php index.pl index.cgi

To:

DirectoryIndex index.php index.html index.shtml index.html.var index.htm index.php3 index.pl index.cgi

 

I used this method to install:

 

1) Copy folder vcalendar to Uniserver folder www

2) Start servers using Server_Start.bat

3) Into your browser type http://localhost/vcalendar/

4) Wait for redirection and fill in the following:

SQL Host *: localhost

SQL Database Name *: vcalendar check the Create database box

SQL UserName *: root

SQL Password: root

Admin name *: root

Admin password: root

Login *: admin

Password *: fred123

Confirm password *: fred123

 

It created the database with no problems and looks as if it works.

 

Note: The problem is visible when you see pages with loads of undefined field like this {res:month_events} etc

 

All the best

Ric

:)

Link to comment
Share on other sites

Thanks Ric very much

 

And I do mean this, A big thank you for your help on this :o

 

But call me thick! but i cant find this line? :blink:

 

-----------------------------------------------------------------------------------------------------------------------------

(Open file php.ini located in folder *\Uniform Server\udrive\usr\local\php

Change this line:

DirectoryIndex index.html index.shtml index.html.var index.htm index.php3 index.php index.pl index.cgi

To:

DirectoryIndex index.php index.html index.shtml index.html.var index.htm index.php3 index.pl index.cgi)

-----------------------------------------------------------------------------------------------------------------------------

 

 

Many Thanks

 

Danny (Sorry :huh:

 

Extremely sorry, must have been brain dead at the time! :)

It was the Apache config file that needs editing. I have corrected my post accordingly. :o

I thought it wise to remove your long post. :)

I do apologise for the inconvenience.

All the best

Ric. :o

Personal website

 

Uniform Server - hMail Server - Joomla

Link to comment
Share on other sites

Thanks Ric,

 

Sorry for the long post, thanks for getting back to me have made these changes and installed the new copy, installation perfect now, but still having the same problem.

 

What is happening, if you make an entry on VCalendar on any day and then go to day view, it will say (There is no data related to this day/event.)

But the rest of the VCalendar is working fine?

 

Now I installed Uniform Server Version 3.3 and VCalendar works correctly, (the day view works) but I cant use that version because the PHP Calculator we had made for us wont run on this version of Uniform Server, so I'm going round in one big circle, lol :)

 

Now I would like to stay with Uniform Server Apollo but I'm pulling my hair out. :blink:

and the worst of it is Ric, we had a meeting at work talking about the intranet and my Bosses saying ''how is the Calendar coming along?'' :huh:

Oh perfect I replied, well the silly sod I am, just didn't push the day view button, it was probably that long ago that the version I was testing was 3.3 and all was fine.

 

So I once again thank you for your time and help with this I'm sure this is something stupid I'm not doing but any more help would be so much appreciated Ric.

 

Thanks

DannyH

:)

Personal website

 

Uniform Server - hMail Server - Joomla

Link to comment
Share on other sites

Hi Ric

 

Just an Update

 

Sorry but the Register (Globals was OFF, Now ON) and the PHP Calculator is now working.

So Uniform Server 3.3 Is now fully working with VCalender and Our PHP Calculator, just can’t see why Apollo is not working with VCalender Weird

 

Thanks

 

DannyH :)

Personal website

 

Uniform Server - hMail Server - Joomla

Link to comment
Share on other sites

Hi DannyH

 

I could not get on-line last night seems the server was down. Well I have some good news and some bad!

 

With the above modifications I can confirm the calendar (fully) works on UniServer 3.3

 

Also with modifications it almost works with 3.5-Apollo, however every day.php request fails as per your observation.

 

I performed a quick test to isolate the problem area as follows:

 

3.5-Apollo I renamed the folder mysql to mysql2 located in folder *\Uniform Server\udrive\usr\local

 

From 3.3 copied the folder mysql located in folder *\Uniform Server\diskw\usr\local to 3.5-Apollo folder *\Uniform Server\udrive\usr\local

 

Cleared browser cache fired up 3.5-Apollo and ran the calendar it worked as on 3.3

 

Well if you are running an intranet that could be a solution! Downgrade the MySQL server as above.

 

That leaves two questions was the software tested on MySQL 5.0.37 (as used on 3.5) or was it assumed to work (requires MySQL version! or higher this is a common get out clause for not testing. It’s not a dig at the designer that MySQL version probably was not around at the time during development. ) Post a message to the designer for clarification.

 

I have seen bugs reported for MySQL 5.0.37 (this may be the cause!) wonder if the software will run on the new version of MySQL 5.0.45

 

The quick test above points to MySQL as the cause but does not fully rule out PHP although I think this is unlikely.

 

I personally have no problem with the above; it highlights one very important point the reason why service providers do not offer the latest and greatest versions of software. They fully test and make sure the software is reliable before updating their servers (at least in this respect they are on your side).

 

All the best

Ric

:)

Link to comment
Share on other sites

Quick update, I have placed a support request detailing what I found when testing Vcalendar on UniServer. As an interim solution you can use 3.3 or downgrade 3.5-Apollo MySQL server from 5.0.37 to 5.0.17 as outlined above (I have also tested live on the Internet works fine).

All the best

Ric

:)

Link to comment
Share on other sites

Over the weekend I upgraded UniServer to MySQL 5.0.45 and tested Vcalendar.

Well Year, Month and Week, day events work fine however the day event on its own (top menu bar) does not, still get this “There is no data related to this day/event.” Added this information to the support request.

 

I have popped the upgrade on UniCenter it may be of use to other users, can be found here:

http://center.uniformserver.com/us_35_oily...ql_upgrade.html

 

All the best

Ric

:)

Link to comment
Share on other sites

Result,

I would like to express my sincerest thanks to Robert and George, at UltraApps support for a very quick response and resolution to this problem.

 

I have tested this on UniServer with the following MySQL versions:

5.0.17 UniServer 3.3

5.0.37 UniServer 3.5-Apollo

5.0.45 UniServer 3.5-Apollo (Upgraded)

 

Solution:

Open the file Common.php

Location: *\Uniform Server\udrive\www\vcalendar

 

Change this line (line 32)

"DateFormat" => array("yyyy", "-", "mm", "-", "dd", " ", "HH", ":", "nn", ":", "ss"),

To

"DateFormat" => array("yyyy", "-", "mm", "-", "dd"),

 

It works perfectly, while testing I discovered it is extremely easy to use and also a very powerful package. It really is worth the download quick and easy to install.

 

All the best

Ric :)

 

Again many thanks, Robert and George :)

Link to comment
Share on other sites

I forgot to mention an alternative to editing the Apache configuration file httpd.conf

 

Use an .htaccess file as follows:

 

1) Copy .htaccess from folder www to folder vcalendar

2) Edit the .htaccess file in folder vcalendar

Delete all lines and add this one:

DirectoryIndex index.php index.html index.htm

 

All the best

Ric :)

Link to comment
Share on other sites

Hi Ric, :)

 

I am so sorry for the delay :) , just after my last post I went on holiday to Turkey and have only just got back, thank you so much for you reply’s I cant thank you enough for your support on this topic, please post a reply so I know you have read this Ric

 

p.s all working a dream :blink:

 

Thanks

 

DannyH

Personal website

 

Uniform Server - hMail Server - Joomla

Link to comment
Share on other sites

Hi Danny,

Excellent news, glad you have it working. :blink:

I will in due course pop a full write up of VCaldar on UniCenter. :)

That said you already inspired me to produce this write-up:

http://center.uniformserver.com/us_35_oily...ql_upgrade.html

Thanks for that others may find it useful. :)

All the best

Ric :huh:

Link to comment
Share on other sites

  • 2 weeks later...

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...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...