Welcome to Geeklog, Anonymous Saturday, April 20 2024 @ 05:30 am EDT
Geeklog Forums
Only Administrator can post story.
Ed Roberts
Anonymous
Admin can post a new story.
When a regular user posts, the followind error appears:
" Unfortunately, an error has occurred rendering this page. Please try again later."
The URL is: http://dilbert.bmh.com/submit.php?type=story&topic=PMESII_POSTINGS
I have checked and rechecked all configuration settings I can think of. Any insight into this problem will be appreciated.
When a regular user posts, the followind error appears:
" Unfortunately, an error has occurred rendering this page. Please try again later."
The URL is: http://dilbert.bmh.com/submit.php?type=story&topic=PMESII_POSTINGS
I have checked and rechecked all configuration settings I can think of. Any insight into this problem will be appreciated.
9
7
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
dilbert.bmh.com doesn't resolve.
Anyway, check your error.log and also the FAQ: Unfortunately, an error has occurred rendering this page. Please try again
bye, Dirk
Anyway, check your error.log and also the FAQ: Unfortunately, an error has occurred rendering this page. Please try again
bye, Dirk
8
4
Quote
It sounds like turning on debuging will greatly improve my chances of solving this problem.
Your response said:
"If, however, the problem occurs before you had a chance to log in, you can edit your config.php file and change the $_CONF['rootdebug'] variable like so:
$_CONF['rootdebug'] = true; "
However, I have not been able to find the file "config.php". I have searched the entire tree and have not found any place where $_CONF['rootdebug'] was being set.
I am running GeekLog 1.5.0. Everthing appears to work fine except that non-admin users can not post a story.
Again, Thanks for the help!
Your response said:
"If, however, the problem occurs before you had a chance to log in, you can edit your config.php file and change the $_CONF['rootdebug'] variable like so:
$_CONF['rootdebug'] = true; "
However, I have not been able to find the file "config.php". I have searched the entire tree and have not found any place where $_CONF['rootdebug'] was being set.
I am running GeekLog 1.5.0. Everthing appears to work fine except that non-admin users can not post a story.
Again, Thanks for the help!
11
5
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Did you check your error.log? The error message should be logged there.
If that doesn't help, the 'rootdebug' option is now in the Configuration admin panel:
Configuration > Geeklog > Miscellaneous > Debug
(and, yes, that FAQ article has to be updated for 1.5.0 ...)
bye, Dirk
If that doesn't help, the 'rootdebug' option is now in the Configuration admin panel:
Configuration > Geeklog > Miscellaneous > Debug
(and, yes, that FAQ article has to be updated for 1.5.0 ...)
bye, Dirk
8
5
Quote
Well, I captured an error but I am not sure what to do with it:
An error has occurred:
2 - strtotime() [function.strtotime]: Called with an empty time parameter. @ /var/www/system/classes/story.class.php line 1226
array(1) {
["item"]=>
string(8) "unixdate"
}
(This text is only displayed to users in the group 'Root'
This looks like a program error rather than a configuration error but it is hard to believe that could be the case. Again, any insight will be most appreciated.
Thanks,
Ed R. :banghead:
An error has occurred:
2 - strtotime() [function.strtotime]: Called with an empty time parameter. @ /var/www/system/classes/story.class.php line 1226
array(1) {
["item"]=>
string(8) "unixdate"
}
(This text is only displayed to users in the group 'Root'
This looks like a program error rather than a configuration error but it is hard to believe that could be the case. Again, any insight will be most appreciated.
Thanks,
Ed R. :banghead:
21
7
Quote
Status: offline
THEMike
Forum User
Moderator
Registered: 07/25/03
Posts: 141
Location:Sheffield, UK
How is this recreated on your site?
Is this a submitted story with no submission queue?
If so, the fix over here will resolve for you:
http://www.geeklog.net/forum/viewtopic.php?showtopic=83466&lastpost=true#83596
Is this a submitted story with no submission queue?
If so, the fix over here will resolve for you:
http://www.geeklog.net/forum/viewtopic.php?showtopic=83466&lastpost=true#83596
10
4
Quote
Quote by: THEMike
How is this recreated on your site?
Is this a submitted story with no submission queue?
If so, the fix over here will resolve for you:
http://www.geeklog.net/forum/viewtopic.php?showtopic=83466&lastpost=true#83596
:helpme:
Thanks for the suggestion. I tried it but with the same result. The error occurs both with and without a submission queue configured.
The error occurs when a non-admin user attempts to contribute a story. That is, when such a user clicks on "Contribute", no story entry form is displayed and the error occurs.
I am getting this same error on two different machines with new Geeklog 1.5.0 installations, a machine on my home network and one at work.
I know very little about PHP. Is there any way to get something like a stack trace in order to figure out how the failing function is being called?
:banghead:
10
7
Quote
Status: offline
THEMike
Forum User
Moderator
Registered: 07/25/03
Posts: 141
Location:Sheffield, UK
Can you please email me your story.class.php file, and the output of your phpinfo?
(Create a file called phpinfo.php on your serverthat contains the following:
<?php phpinfo(); ?>
Visit it in a browser, save the page and mail it me, I'll pm address)
(Create a file called phpinfo.php on your serverthat contains the following:
Text Formatted Code
<?php phpinfo(); ?>
Visit it in a browser, save the page and mail it me, I'll pm address)
11
8
Quote
The fix was received and applied. It works great!
Thanks for the outstanding help and response, Mike and Dirk!
Ed R.
8
8
Quote
All times are EDT. The time is now 05:30 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content