ElkArte Community

Elk Development => Bug Reports => Topic started by: Jorin on January 30, 2019, 05:36:03 am

Title: [1.1.5] manage drafts area
Post by: Jorin on January 30, 2019, 05:36:03 am
I can't reach this area: https://yoururl/index.php?action=admin;area=managedrafts  :-\
Title: Re: [1.1.5] manage drafts area
Post by: radu81 on January 30, 2019, 11:40:45 am
Do you get any errors on elkarte log? I can access that area on my forum
Title: Re: [1.1.5] manage drafts area
Post by: Spuds on January 30, 2019, 05:08:55 pm
Or check your server logs if the ElkArte log is clear .. that could be some PHP version issue that we missed.
Title: Re: [1.1.5] manage drafts area
Post by: Jorin on January 31, 2019, 01:52:01 am
Here's the error log. It seems it's my fault.

(Link-6273)

The three lines 424 - 426 are:

Code: [Select]
<li class="copyright">| <a href="' . $scripturl . '?topic=5226.0">Forum-Knigge</a></li>
<li class="copyright">| <a href="' . $scripturl . '?topic=7773.0">Datenschutzerklärung</a></li>
<li class="copyright">| <a href="' . $scripturl . '?topic=7255.0">Impressum</a></li>',

I changed them to:

Code: [Select]
<li class="copyright">| <a href="https://forum-alternative-antriebe.de/index.php/topic,5226.0.html">Forum-Knigge</a></li>
<li class="copyright">| <a href="https://forum-alternative-antriebe.de/index.php/topic,7773.0.html">Datenschutzerklärung</a></li>
<li class="copyright">| <a href="https://forum-alternative-antriebe.de/index.php/topic,7255.0.html">Impressum</a></li>',

...but have the same error. The error log keeps empty now, but I still cannot reach the page to set the drafts.
Title: Re: [1.1.5] manage drafts area
Post by: ahrasis on January 31, 2019, 04:12:01 am
That's not default theme. Something must be off in that custom theme's file(s).
Title: Re: [1.1.5] manage drafts area
Post by: Jorin on January 31, 2019, 07:14:42 am
The only thing I've done, I changed these parts:

Code: [Select]
	// Show RSS link, as well as the copyright.
// Footer is full-width. Wrapper inside automatically matches admin width setting.
echo '
<footer id="footer_section"><a id="bot"></a>
<div class="wrapper">
<ul>
<li class="copyright">',
theme_copyright(), '
</li>
<li class="copyright">| <a href="https://forum-alternative-antriebe.de/index.php/topic,5226.0.html">Forum-Knigge</a></li>
<li class="copyright">| <a href="https://forum-alternative-antriebe.de/index.php/topic,7773.0.html">Datenschutzerklärung</a></li>
<li class="copyright">| <a href="https://forum-alternative-antriebe.de/index.php/topic,7255.0.html">Impressum</a></li>',
!empty($context['newsfeed_urls']['rss']) ? '<li>
<a id="button_rss" href="' . $context['newsfeed_urls']['rss'] . '" class="rssfeeds new_win"><i class="icon icon-margin i-rss icon-big"><s>' . $txt['rss'] . '</s></i></a>
</li>' : '',
'</ul>';

and:

Code: [Select]
	// Anything special to put out?
if (!empty($context['insert_after_template']))
echo $context['insert_after_template'];

echo '
<script type="text/javascript" src="https://forum-alternative-antriebe.de/cookie_bar/cookiebar-latest.min.js?theme=grey&always=1&showNoConsent=1&top=1"></script>

</body>
</html>';
}

Even with the default theme I can't reach the page. But my default looks much like my blueish theme, so I plan to upload the default from an install package and check it then. But to be sure I plan to rename the default to keep it as a backup first.
Title: Re: [1.1.5] manage drafts area
Post by: emanuele on January 31, 2019, 07:33:32 am
That index error is likely not the issue, otherwise none of the pages of your forum would work.

What version of php are you using?
Here with 7.3 I have many other problems, but not that one.
Any addon installed?
Can you check the apache logs? This should give a more detailed reason as to why the page fails to load.
Title: Re: [1.1.5] manage drafts area
Post by: ahrasis on March 27, 2019, 09:38:21 am
I don't think this one is tracked yet for 1.1.6.
Title: Re: [1.1.5] manage drafts area
Post by: Spuds on April 01, 2019, 01:55:04 pm
Tracked as unconfirmed since we lack additional debug information ... https://github.com/elkarte/Elkarte/issues/3293
Title: Re: [1.1.5] manage drafts area
Post by: Jorin on April 02, 2019, 01:22:59 am
Quote from: emanuele – What version of php are you using?
Here with 7.3 I have many other problems, but not that one.
Any addon installed?
Can you check the apache logs? This should give a more detailed reason as to why the page fails to load.

Sorry for the late answer.  :-[

PHP Version: 7.2.13-nmm1

Addons:
AEVA BBCode replacement   0.0.1
AmazonAffiliate4ElkArte   1.0
Attachment Image Resize   1.0.5
Bookmarks   2.5
Descriptive Links   1.0.2
ElkArte 1.1.3 patch   1.1.3
ElkArte 1.1.4 patch   1.1.4
ElkArte 1.1.5 patch   1.0
Inline Attachments   1.0
Print to PDF   1.0.7
Topic Author   1.1

Hm, I tried to find apache logs, but don't know where.  :-[
Title: Re: [1.1.5] manage drafts area
Post by: emanuele on April 07, 2019, 05:02:27 pm
Okay, try like this: open the drafts management page, then go to the error log. See if anything appeared in the last few moments.
Title: Re: [1.1.5] manage drafts area
Post by: Jorin on April 08, 2019, 06:02:24 am
Nope, sorry. I clicked on the drafts title on the core features page and the error log is still empty after that.  :(

Can I upload some unchanged files to fix that? To test that maybe an addon is the problem?
Title: Re: [1.1.5] manage drafts area
Post by: Spuds on April 08, 2019, 10:46:03 am
I think we need to find that error log.

Do you use cpanel or some other panel to manage your server?

You can go to Admin->Main->Support & Credits and select the "more details" button next to your php version.  On that page search for "error_log" ... that entry it will either be empty/no value or have a path value.

If it has a path then that is where your PHP error log is saved, if no path is defined then you are using the system error log which is likely /var/log/apache2/error.log