Go Back   Ultimate Web Site Drop Down Menu Forum > UDM4 > Troubleshooting
Register FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Display Modes
Unread 06-09-2008, 05:02 AM
rbachl rbachl is offline
Junior Member
Join Date: Jun 2008
Posts: 10
  #1  
Default

Thank you for taking the efforts and looking into the problem in detail.
The PHP version is 5.2.0, which is not old, but it is compiled for an ARM processor. I am sending a separate email with attachments.
Reply With Quote
Unread 06-10-2008, 01:43 AM
vinyl-junkie vinyl-junkie is offline
Moderator
Join Date: Aug 2007
Posts: 114
  #2  
Default

Got the files. Thanks!

Can you also send me your udm-style.php file? I got a 404 error because of that when I tried to replicate your page exactly as you have it.
__________________
Music Around The World - Collecting tips, trade
and want lists, album reviews, & more
SNAP to it!
Reply With Quote
Unread 06-10-2008, 05:19 AM
rbachl rbachl is offline
Junior Member
Join Date: Jun 2008
Posts: 10
  #3  
Default

vinyl-junkie, thanks a lot for looking at this issue in detail. I have sent you the file just now.
Reply With Quote
Unread 06-12-2008, 03:13 AM
vinyl-junkie vinyl-junkie is offline
Moderator
Join Date: Aug 2007
Posts: 114
  #4  
Default

My apologies for taking so long with this. It was a bear to solve, but I've finally got this to where it works on my server.

First of all, here is the correct value for $config in udm-dom.php:

Code:
$config = $_SERVER['DOCUMENT_ROOT'] . '/EE2/udm/udm-custom.ini';
You should also set the same value in udm-style.php.

Also, there are several incorrect lines of code you need to fix in udm-custom.ini.

For example:

Code:
'solid',	// hover/focus border styles ["solid"|"double"|"dotted"|"dashed"|"groove"|"ridge"|"inset"|"outset"] (single, double 
or four values; be careful with using "none")
should be:

Code:
'solid',	// hover/focus border styles ["solid"|"double"|"dotted"|"dashed"|"groove"|"ridge"|"inset"|"outset"] (single, double or four values; be careful with using "none")
I don't know how those got messed up. Are they that way in your original file, or is it because of sending me the files as attachments? I'm not sure what caused this problem. Anyway, there are 6 or 7 lines like that.

I hope I've covered everything. Let us know how it goes, and if you need any more help.
__________________
Music Around The World - Collecting tips, trade
and want lists, album reviews, & more
SNAP to it!
Reply With Quote
Unread 06-12-2008, 03:19 AM
vinyl-junkie vinyl-junkie is offline
Moderator
Join Date: Aug 2007
Posts: 114
  #5  
Default

Here is how udm-custom.ini should look. It is saved with a .txt file extension.
Attached Files
File Type: txt udm-custom.txt (13.3 KB, 0 views)
__________________
Music Around The World - Collecting tips, trade
and want lists, album reviews, & more
SNAP to it!
Reply With Quote
Unread 06-12-2008, 06:47 AM
rbachl rbachl is offline
Junior Member
Join Date: Jun 2008
Posts: 10
  #6  
Smile It is working!

Wow vinyl-junkie, it is working now. Thank you so much for your great support.

I don't know how the line breaks entered the udm-custom.ini file. The problem was really difficult to see, since I was always under the impression that the line breaks are from the display in the editor rather than being actual line breaks.

Thank you very much!!! I owe you something. How about a dinner invitiation when I am visiting Seattle (not sure if this is still going to happen this year though).
Reply With Quote
Unread 06-12-2008, 11:17 AM
vinyl-junkie vinyl-junkie is offline
Moderator
Join Date: Aug 2007
Posts: 114
  #7  
Default

Your undying gratitude will be sufficient. Seriously though, I had a lot of fun working on this.

Just in case someone else should find a similar problem, here's how I ultimately solved this one. If you look at the following statement in udm-style.php:

Code:
if(ereg('^[-\_\.\/\\a-zA-Z0-9:]+$', $config) && ereg($cmatch, $config)) { @require_once($config); }
notice this part:

Code:
@require_once($config);
That @ symbol in front of the statement is intended to suppress any error messages in PHP. That is a desirable thing in a production environment, but when you're trying to debug your code, you need to remove the @ symbol to see any errors that might be generated. That's what I did, and that's how I noticed there was something wrong with the udm-custom.ini file.

This was a fun problem to solve. The solution was certainly not what I expected. Anyway, I'm glad UDM is now working for you.
__________________
Music Around The World - Collecting tips, trade
and want lists, album reviews, & more
SNAP to it!
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 04:03 PM.


Powered by vBulletin® Version 3.0.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.