|
Hm, blank events component 3 Years, 9 Months ago
|
|
|
Hi there,
Wish I was writing to say how great it is - it certainly looks good though!
Having a small problem with com_mls_events, the latest version. When I try to get into it, its config, etc, from the front or back end, I get just a blank page.
All the other components work fine.
I checked for similar problems like this and saw that one was caused by not having all the components installed.
I do have: catering, events, lang, paypal, seatmap, teams, tournaments all installed. Using IIS6.
Anything I'm missing?
Thanks in anticipation of your help!
Cheers,
Cam
|
|
ponderota
|
|
|
|
|
Re:Hm, blank events component 3 Years, 8 Months ago
|
Karma: 9
|
|
I have done very little testing (reads: none) on IIS. Try pumping up your error reporting level to E_ALL in php.ini and make sure that PHP is configured to display errors.
|
|
|
|
|
|
|
Re:Hm, blank events component 3 Years, 8 Months ago
|
|
Thanks for the reply!
I did as you suggested, and got the following:
| Code: |
Warning: require_once(includes/HTML_toolbar.php) [function.require-once]: failed to open stream: No such file or directory in [path to joomla]\components\com_mls_events\mls_events.html.php on line 3
Fatal error: require_once() [function.require]: Failed opening required 'includes/HTML_toolbar.php' (include_path='.;C:\php5\pear') in [path to joomla]\components\com_mls_events\mls_events.html.php on line 3
|
Interestingly enough, the path it refers to for the fatal error, c:\php5\pear, doesn't exist, so I'll try and chase down where it's getting that from in my PHP config.
I'll also check those lines of code as well, but thought I'd post this here for your thoughts.
Thanks again,
Cam
|
|
ponderota
|
|
|
|
|
Re:Hm, blank events component 3 Years, 8 Months ago
|
|
|
Okay, after playing around a bit, I deleted the following lines which make it die on direct access:
;<?php
;defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
;require_once( "includes/HTML_toolbar.php" );
;?>
And it started working. Problem with the Includes path, I don't think my PHP knows where its meant to be looking.
I'll fiddle around in time now it's working, but for security I'll try to find a way to get that bit in.
If I do find a way, I'll be sure to post it.
Thanks for your help!
Cam
|
|
ponderota
|
|
|
|
|
Re:Hm, blank events component 3 Years, 4 Months ago
|
Karma: 0
|
Hi, I am also experiencing the same problem. I want to use your workaround tip but my biggest problem is that I can´t find the php.ini file? where is it located? and if someone wonder, yes I have installed the lang module
Regards
Robin
|
|
Rav3n
Fresh Boarder
Posts: 6
|
|
|
|
|
Re:Hm, blank events component 3 Years, 4 Months ago
|
Karma: 9
|
|
So, are you running on IIS too?
You dont need to have access to php.ini. In Joomla, you can change the Error reporting level in the "Global configuration", "Server" tab, set "Error Reporting" to "Maximum".
Cheers
|
|
|
|
|
|
|
Re:Hm, blank events component 3 Years, 4 Months ago
|
Karma: 0
|
Hi okey heres the error message. i get this message when i am trying to se events.
Notice: Undefined variable: act in /customers/pelan.se/pelan.se/httpd.www/administrator/components/com_mls_events/admin.mls_events.php on line 28
Fatal error: Call to a member function on a non-object in /customers/pelan.se/pelan.se/httpd.www/administrator/components/com_mls_events/admin.mls_events.html.php on line 49
I hope this can help you to help me
Regards
Robin
|
|
Rav3n
Fresh Boarder
Posts: 6
|
|
|
|
|
Re:Hm, blank events component 3 Years, 4 Months ago
|
Karma: 9
|
See this line? | Code: |
$cid = mosGetParam( $_POST, 'cid', array(0) );
|
Add this one below:
| Code: |
$act = mosGetParam( $_REQUEST, 'act', null );
|
Let me know what webserver (Apache, IIS?), what PHP Version and which Joomla version you're runnning.
Cheers
|
|
|
|
|
|
|
Re:Hm, blank events component 3 Years, 4 Months ago
|
Karma: 0
|
|
Apache
PHP version 4
Joomla 1.5.7
i could upgrade to php 5 if you think that can solve the problem?
Regards
Robin
|
|
Rav3n
Fresh Boarder
Posts: 6
|
|
|
|
|
Re:Hm, blank events component 3 Years, 4 Months ago
|
Karma: 9
|
|
Mate.. how many times did I write already that myLANsite does _not_ work on Joomla 1.5?
|
|
|
|
|
|
|