URL to your eFiction: http://fiction.spot-design.net
Version of eFiction: 3.0
Have you bridged eFiction, if so with what?: NA
Version of PHP: 4.4.4
Version of MySQL: 4.0.25
Have you searched for your problem: yes
If so, what terms did you try: custom pages, Error!We encountered an error. Please go back and try again., and I also searched each post in this forum (3.0 General Support) for the answer.
Have you looked at the FAQs: There is no 3.0 FAQ
State the nature of your problem: I added a custom page (affiliates) and I get:
POSTING RULES
Error!We encountered an error. Please go back and try again.
I had it in debug mode but it really messed up my site so I copied the comments from the code. Here they are:
<!-- $_SESSION
Array
(
[miUTv5jfgp_useruid] => 1
[miUTv5jfgp_salt] => 69cb3ea317a32c4e6143e665fdb20b14
)
-->
<!-- $_COOKIE
Array
(
[__utma] => 21565356.1568650324.1160239455.1160239455.1160321074.2
[__utmz] => 21565356.1160239455.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)
[phpbb2mysql_data] => a:2:{s:11:"autologinid";s:0:"";s:6:"userid";s:1:"2";}
[PHPSESSID] => 787fb6e1491b03cdc7926fe8fc45f8c2
)
-->
<!-- $_POST
Array
(
)
--><!-- SELECT * FROM fic_fanfiction_categories ORDER BY leveldown, displayorder -->
<!-- SELECT * FROM fic_fanfiction_classes -->
<!-- SELECT * FROM fic_fanfiction_classtypes -->
<!-- SELECT * FROM fic_fanfiction_ratings -->
<!-- SELECT * from fic_fanfiction_pagelinks ORDER BY link_access ASC -->
<!-- SELECT message_text FROM fic_fanfiction_messages WHERE message_name = 'copyright' LIMIT 1 -->
<!-- SELECT stories.*, author.penname as penname, UNIX_TIMESTAMP(stories.date) as date, UNIX_TIMESTAMP(stories.updated) as updated FROM (fic_fanfiction_authors as author, fic_fanfiction_stories as stories) WHERE author.uid = stories.uid AND stories.validated > 0 AND stories.featured = '1' -->
<!-- SELECT COUNT(sid) as totals, COUNT(DISTINCT uid) as totala, SUM(wordcount) as totalwords FROM fic_fanfiction_stories WHERE validated > 0 -->
<!-- SELECT COUNT(chapid) as chapters FROM fic_fanfiction_chapters where validated > 0 -->
<!-- SELECT COUNT(DISTINCT chapid) FROM fic_fanfiction_chapters WHERE validated = '0' -->
<!-- SELECT stories.*, author.penname as penname, UNIX_TIMESTAMP(stories.date) as date, UNIX_TIMESTAMP(stories.updated) as updated FROM (fic_fanfiction_authors as author, fic_fanfiction_stories as stories) WHERE author.uid = stories.uid AND stories.validated > 0 ORDER BY rand( ) DESC LIMIT 1 -->
<!-- SELECT stories.*, author.penname as penname, UNIX_TIMESTAMP(stories.date) as date, UNIX_TIMESTAMP(stories.updated) as updated FROM (fic_fanfiction_authors as author, fic_fanfiction_stories as stories) WHERE author.uid = stories.uid AND stories.validated > 0 ORDER BY stories.updated DESC LIMIT 1 -->
<!-- SELECT * FROM fic_fanfiction_online WHERE online_uid=1 -->
<!-- UPDATE fic_fanfiction_online SET online_timestamp = '1167264434' WHERE online_uid=1 -->
<!-- DELETE FROM fic_fanfiction_online WHERE online_timestamp < 1167264374 -->
<!-- SELECT COUNT(online_ip) FROM fic_fanfiction_online WHERE online_uid = 0 -->
<!-- SELECT o.online_uid, a.penname FROM fic_fanfiction_online as o, fic_fanfiction_authors as a WHERE o.online_uid = a.uid AND o.online_uid != 0 -->
<!-- SELECT message_title, message_text FROM fic_fanfiction_messages WHERE message_name = 'affiliates.php' LIMIT 1 -->
Give a link to the exact page please. You need to explain the problem better because I'm not sure what you're doing to get those errors. I'm guessing from the errors you posted that you're maybe trying to access the custom page wrong.
This is the link to the custom page:
http://fiction.spot-design.net/viewpage.php?page=affiliates
And it seems to be working just fine.
Just letting anyone else who has this problem know that it was caused by incorrect url. I added .php to the end of the url. It should be:
http://fiction.spot-design.net/viewpage.php?page=affiliates
Not
http://fiction.spot-design.net/viewpage.php?page=affiliates.php
So if you have this problem check your urls.
After you edit a custom page, the link to the page should show up under
Custom Pages
If you click on the link of the page that was just edited, you will see the page. Get the url from that page next time so you know it's right. π
Also, all the custom pages are supposed to have variables that you can use instead of <a href=""">." They look like {NAME_link}
for example, I have a custom page called links. In my header menu I use {links_link}. When people visit my site, they see Links there.
Whoever said nothing is impossible never tried slamming a revolving door.
url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word
