|
06-07-2008, 07:36 PM
|
Moderator
|
Join Date: Aug 2007
Posts: 114
|
#1
|
|
|
Try this:
Code:
$config = 'EE2/udm/udm-custom.ini';
What you have may already be the equivalent of this, but I'm still convinced this is where the problem lies. When a problem like yours has come up before in the forums, this is usually what needs to change to fix it.
|
|
06-08-2008, 12:52 AM
|
Junior Member
|
Join Date: Jun 2008
Posts: 10
|
#2
|
|
|
Thank you for the reply. I did not try this particular path setting before, but unfortunately it does not work either. In the meantime, I have tried the following 5 options in udm-dom.php and udm-style.php:
// Option 1: suggested by udm
//$config = $_SERVER['DOCUMENT_ROOT'] . '/EE2/udm/udm-custom.ini';
// Option 2: absolute path
//$config = '/share/MD0_DATA/Qweb/EE2/udm/udm-custom.ini';
// Option 3: relative path suggested by EE2
//$config = 'udm-custom.ini';
// Option 4: relative to document root suggested in forum
//$config = 'EE2/udm/udm-custom.ini';
// Option 5: relative to EE2
$config = 'udm/udm-custom.ini';
With every test, I have made sure that the browser cache was cleared, but I could not get the udm menu working so far.
|
|
06-08-2008, 03:18 AM
|
Moderator
|
Join Date: Aug 2007
Posts: 114
|
#3
|
|
|
Move the following bit of code to where it is just underneath the <body> tag:
Code:
<!-- PHP generated menu script [any modules or extensions must come AFTER this] -->
<script type="text/javascript" src="udm/udm-dom.php"></script>
Also, you need these three scripts inside the <head> section of your page:
Code:
<!-- ULTIMATE DROP DOWN MENU Version 4.5 by Brothercake -->
<!-- http://www.udm4.com/ -->
<script type="text/javascript"
src="udm/udm-custom.js"></script>
<script type="text/javascript"
src="udm/udm-control.js"></script>
<script type="text/javascript"
src="udm/udm-style.js"></script>
Make sure those files are on the server as well.
Let us know if this solves your problem.
|
|
06-08-2008, 05:02 PM
|
Junior Member
|
Join Date: Jun 2008
Posts: 10
|
#4
|
|
|
Sorry for being a bit ignorant, but I thought that the PHP configuration of udm does not requires the js files? The js files are not mentioned in the PHP configuration http://www.udm4.com/manual/setup/scriptsphp/
and they are not mentioned in the forum describing integration of udm in the Exhibition Engine.
The web pages are dynamically generated by Exhibition Engine. For making the changes you are suggesting, I would need to learn and modify the Exhibition Engine code, which is something I did not plan to do...
If the flaw is with my PHP version not supporting some of the statements in the udm files, maybe I can first provide the PHP configuration (phpinfo) for some crosscheck. If this does not yield a hint about the problem, I could include statements for debugging in the udm code? What do you think?
Unfortunately, I cannot just update or recompile php since this is on a ARM based system where I do not have a toolchain for.
Java is also missing on the webserver.
Last edited by rbachl : 06-08-2008 at 05:15 PM.
|
|
06-08-2008, 10:10 PM
|
Moderator
|
Join Date: Aug 2007
Posts: 114
|
#5
|
|
|
Quote:
Originally Posted by rbachl
Sorry for being a bit ignorant, but I thought that the PHP configuration of udm does not requires the js files? The js files are not mentioned in the PHP configuration http://www.udm4.com/manual/setup/scriptsphp/
and they are not mentioned in the forum describing integration of udm in the Exhibition Engine.
|
Sorry, you are correct. I don't know what I was thinking when I posted that yesterday. I took a little too quick of a look at the documentation when I posted, I guess. I have a PHP configuration on one of my websites, too, and it doesn't have those files either. Duh!
Quote:
The web pages are dynamically generated by Exhibition Engine. For making the changes you are suggesting, I would need to learn and modify the Exhibition Engine code, which is something I did not plan to do...
|
I copied your page and uploaded it to my own server. When I moved that bit of code I mentioned, it didn't make a difference as I thought it would, so that isn't the problem.
Interestingly, when I use your unordered list with my UDM files, the page works as expected. I still think it's a path issue, but I don't see right offhand just where the problem is.
Quote:
If the flaw is with my PHP version not supporting some of the statements in the udm files, maybe I can first provide the PHP configuration (phpinfo) for some crosscheck. If this does not yield a hint about the problem, I could include statements for debugging in the udm code? What do you think?
|
Unless you have a really old version of PHP, I don't think that is problem. Just for the record though, what version of PHP are you using?
Could you send me your udm-dom.php file? That way, I can play around with this a little more. You can send it to me through my contact form as an attachment.
|
|
06-09-2008, 05:02 AM
|
Junior Member
|
Join Date: Jun 2008
Posts: 10
|
#6
|
|
|
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.
|
|
06-10-2008, 01:43 AM
|
Moderator
|
Join Date: Aug 2007
Posts: 114
|
#7
|
|
|
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.
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT. The time now is 06:22 AM.
|