Codoforum related discussions
Problems creating new posts

I cannot post new topics. 'Create Topic' field has no action. Using menu bar option to create a topic does open the editor, but there is no live preview and to click 'post' results in 'page does not exist' error.

'Edit' and 'Delete' buttons also have no effect.

The site worked this morning but not now. All I have done today is try to enable Twitter login, and uploaded some Smiley pngs.

I cannot post new topics. 'Create Topic' field has no action. Using menu bar option to create a topic does open the editor, but there is no live preview and to click 'post' results in 'page does not exist' error. 'Edit' and 'Delete' buttons also have no effect. The site worked this morning but not now. All I have done today is try to enable Twitter login, and uploaded some Smiley pngs.

http://criticalbathtub.co.uk

edited Nov 12 '15 at 3:22 pm

Can you check if you get any javascript errors in your browser console ?

Can you check if you get any javascript errors in your browser console ?

I do:
5644ea318ac29.png

I do: ![5644ea318ac29.png](serve/attachment&path=5644ea318ac29.png)

http://criticalbathtub.co.uk

edited Nov 12 '15 at 7:36 pm

I have just looked at the page source for the category's 'create new topic' field. There is definitely and issue with my new smilies, I think. This is the script which includes the CODOFVAR variable which seems to be associated with the java error:

<script type="text/javascript">

        CODOFVAR = {
            cid: '3',
            cat_alias: 'general-discussions',
            curr_page: parseInt('1'),
            total: 2,
            num_posts_per_page: 20,
            smileys: JSON.parse('[{"image_name":"56448f295eee1lipbite.png","symbol":[":S"]},{"image_name":"5644928525239Angelic.png","symbol":["o:)"]},{"image_name":"564492c4e37b7fume.png","symbol":["x("]},{"image_name":"5644932c6ccafdoh.png","symbol":["(doh)"]},{"image_name":"56449370ec2f4overworked.png","symbol":["|-()"]},{"image_name":"564492a6368b0devilish.png","symbol":["]:)"]},{"image_name":"56449245f2b54bored.png","symbol":["|("]},{"image_name":"56449033cef27zzz.png","symbol":["|-)"]},{"image_name":"56448ff4a47feblush.png","symbol":["(blush)"]},{"image_name":"56448f8f5f87btongue.png","symbol":[":P"]},{"image_name":"564491ee69874quiver.png","symbol":["(:|"]},{"image_name":"56449265af2e8cry.png","symbol":[";("]},{"image_name":"5644921bab347happy.png","symbol":[":)"]},{"image_name":"56449113833e7downcast.png","symbol":[":("]},{"image_name":"564490139bd68cheesy.png","symbol":[":D"]},{"image_name":"56448fdacb866cool.png","symbol":["8)"]},{"image_name":"56448fba2d407wink.png","symbol":[";)"]},{"image_name":"5644914f02ba9think.png","symbol":["(mm)"]},{"image_name":"56448f5f5f42czipped.png","symbol":[":x"]},{"image_name":"564493914d1c7facepalm.png","symbol":["(facepalm)"]},{"image_name":"564493b19ffadSulk.png","symbol":["):("]},{"image_name":"564493e517936win.png","symbol":[":win:"]},{"image_name":"5644941d16f5ewave.png","symbol":["(o\/)"]},{"image_name":"564494590129dmew.png","symbol":[":#c"]},{"image_name":"564494730a388Awe.png","symbol":["*_*"]},{"image_name":"564494a560014Thumbup.png","symbol":[":thumb:"]},{"image_name":"564494cb1eb59cheer.png","symbol":["(\\o\/)"]},{"image_name":"564494e63a598distinguished.png","symbol":[":chap:"]},{"image_name":"56449538895f8fear.png","symbol":[">--<"]},{"image_name":"564495514c1f2horror.png","symbol":[":O"]},{"image_name":"564495803b8dchug.png","symbol":[":hug:"]},{"image_name":"564495c911234kiss.png","symbol":[":K"]},{"image_name":"564496079df20love.png","symbol":["<3"]},{"image_name":"5644962f8e063besotted.png","symbol":[":<3<3:"]},{"image_name":"5644968a7b023goggle.png","symbol":["8)"]},{"image_name":"564496ae4c063huh.png","symbol":[":?"]},{"image_name":"564496e3a3c3bflat.png","symbol":[":|"]},{"image_name":"564497099a5e4idea.png","symbol":[":ding:"]},{"image_name":"5644973d1917elala.png","symbol":[")--("]},{"image_name":"5644978240a9ftearsofjoy.png","symbol":[":lol:"]}]'),
            reply_min_chars: parseInt(10),
            dropzone: {
                dictDefaultMessage: 'Drop files to upload &nbsp;&nbsp;(or click)',
                max_file_size: parseInt('3'),
                allowed_file_mimetypes: 'image/*,text/plain',
                forum_attachments_multiple: 1,
                forum_attachments_parallel: parseInt('4'),
                forum_attachments_max: parseInt('10')

            },
            trans: {
                continue_mesg: 'Continue'
            },
            login_url: 'http://criticalbathtub.co.uk/index.php?u=/user/login',
            search_data: '{}',
            last_page: 'last page',
            no_more_posts: 'No more topics to display!',
            no_posts: 'No topics found matching your criteria!'

        };

    </script>
I have just looked at the page source for the category&#039;s &#039;create new topic&#039; field. There is definitely and issue with my new smilies, I think. This is the script which includes the CODOFVAR variable which seems to be associated with the java error: ``` &amp;lt;script type=&quot;text/javascript&quot;&amp;gt; CODOFVAR = { cid: &#039;3&#039;, cat_alias: &#039;general-discussions&#039;, curr_page: parseInt(&#039;1&#039;), total: 2, num_posts_per_page: 20, smileys: JSON.parse(&#039;[{&quot;image_name&quot;:&quot;56448f295eee1lipbite.png&quot;,&quot;symbol&quot;:[&quot;:S&quot;]},{&quot;image_name&quot;:&quot;5644928525239Angelic.png&quot;,&quot;symbol&quot;:[&quot;o:)&quot;]},{&quot;image_name&quot;:&quot;564492c4e37b7fume.png&quot;,&quot;symbol&quot;:[&quot;x(&quot;]},{&quot;image_name&quot;:&quot;5644932c6ccafdoh.png&quot;,&quot;symbol&quot;:[&quot;(doh)&quot;]},{&quot;image_name&quot;:&quot;56449370ec2f4overworked.png&quot;,&quot;symbol&quot;:[&quot;|-()&quot;]},{&quot;image_name&quot;:&quot;564492a6368b0devilish.png&quot;,&quot;symbol&quot;:[&quot;]:)&quot;]},{&quot;image_name&quot;:&quot;56449245f2b54bored.png&quot;,&quot;symbol&quot;:[&quot;|(&quot;]},{&quot;image_name&quot;:&quot;56449033cef27zzz.png&quot;,&quot;symbol&quot;:[&quot;|-)&quot;]},{&quot;image_name&quot;:&quot;56448ff4a47feblush.png&quot;,&quot;symbol&quot;:[&quot;(blush)&quot;]},{&quot;image_name&quot;:&quot;56448f8f5f87btongue.png&quot;,&quot;symbol&quot;:[&quot;:P&quot;]},{&quot;image_name&quot;:&quot;564491ee69874quiver.png&quot;,&quot;symbol&quot;:[&quot;(:|&quot;]},{&quot;image_name&quot;:&quot;56449265af2e8cry.png&quot;,&quot;symbol&quot;:[&quot;;(&quot;]},{&quot;image_name&quot;:&quot;5644921bab347happy.png&quot;,&quot;symbol&quot;:[&quot;:)&quot;]},{&quot;image_name&quot;:&quot;56449113833e7downcast.png&quot;,&quot;symbol&quot;:[&quot;:(&quot;]},{&quot;image_name&quot;:&quot;564490139bd68cheesy.png&quot;,&quot;symbol&quot;:[&quot;:D&quot;]},{&quot;image_name&quot;:&quot;56448fdacb866cool.png&quot;,&quot;symbol&quot;:[&quot;8)&quot;]},{&quot;image_name&quot;:&quot;56448fba2d407wink.png&quot;,&quot;symbol&quot;:[&quot;;)&quot;]},{&quot;image_name&quot;:&quot;5644914f02ba9think.png&quot;,&quot;symbol&quot;:[&quot;(mm)&quot;]},{&quot;image_name&quot;:&quot;56448f5f5f42czipped.png&quot;,&quot;symbol&quot;:[&quot;:x&quot;]},{&quot;image_name&quot;:&quot;564493914d1c7facepalm.png&quot;,&quot;symbol&quot;:[&quot;(facepalm)&quot;]},{&quot;image_name&quot;:&quot;564493b19ffadSulk.png&quot;,&quot;symbol&quot;:[&quot;):(&quot;]},{&quot;image_name&quot;:&quot;564493e517936win.png&quot;,&quot;symbol&quot;:[&quot;:win:&quot;]},{&quot;image_name&quot;:&quot;5644941d16f5ewave.png&quot;,&quot;symbol&quot;:[&quot;(o\/)&quot;]},{&quot;image_name&quot;:&quot;564494590129dmew.png&quot;,&quot;symbol&quot;:[&quot;:#c&quot;]},{&quot;image_name&quot;:&quot;564494730a388Awe.png&quot;,&quot;symbol&quot;:[&quot;*_*&quot;]},{&quot;image_name&quot;:&quot;564494a560014Thumbup.png&quot;,&quot;symbol&quot;:[&quot;:thumb:&quot;]},{&quot;image_name&quot;:&quot;564494cb1eb59cheer.png&quot;,&quot;symbol&quot;:[&quot;(\\o\/)&quot;]},{&quot;image_name&quot;:&quot;564494e63a598distinguished.png&quot;,&quot;symbol&quot;:[&quot;:chap:&quot;]},{&quot;image_name&quot;:&quot;56449538895f8fear.png&quot;,&quot;symbol&quot;:[&quot;&amp;gt;--&amp;lt;&quot;]},{&quot;image_name&quot;:&quot;564495514c1f2horror.png&quot;,&quot;symbol&quot;:[&quot;:O&quot;]},{&quot;image_name&quot;:&quot;564495803b8dchug.png&quot;,&quot;symbol&quot;:[&quot;:hug:&quot;]},{&quot;image_name&quot;:&quot;564495c911234kiss.png&quot;,&quot;symbol&quot;:[&quot;:K&quot;]},{&quot;image_name&quot;:&quot;564496079df20love.png&quot;,&quot;symbol&quot;:[&quot;&amp;lt;3&quot;]},{&quot;image_name&quot;:&quot;5644962f8e063besotted.png&quot;,&quot;symbol&quot;:[&quot;:&amp;lt;3&amp;lt;3:&quot;]},{&quot;image_name&quot;:&quot;5644968a7b023goggle.png&quot;,&quot;symbol&quot;:[&quot;8)&quot;]},{&quot;image_name&quot;:&quot;564496ae4c063huh.png&quot;,&quot;symbol&quot;:[&quot;:?&quot;]},{&quot;image_name&quot;:&quot;564496e3a3c3bflat.png&quot;,&quot;symbol&quot;:[&quot;:|&quot;]},{&quot;image_name&quot;:&quot;564497099a5e4idea.png&quot;,&quot;symbol&quot;:[&quot;:ding:&quot;]},{&quot;image_name&quot;:&quot;5644973d1917elala.png&quot;,&quot;symbol&quot;:[&quot;)--(&quot;]},{&quot;image_name&quot;:&quot;5644978240a9ftearsofjoy.png&quot;,&quot;symbol&quot;:[&quot;:lol:&quot;]}]&#039;), reply_min_chars: parseInt(10), dropzone: { dictDefaultMessage: &#039;Drop files to upload &amp;amp;nbsp;&amp;amp;nbsp;(or click)&#039;, max_file_size: parseInt(&#039;3&#039;), allowed_file_mimetypes: &#039;image/*,text/plain&#039;, forum_attachments_multiple: 1, forum_attachments_parallel: parseInt(&#039;4&#039;), forum_attachments_max: parseInt(&#039;10&#039;) }, trans: { continue_mesg: &#039;Continue&#039; }, login_url: &#039;http://criticalbathtub.co.uk/index.php?u=/user/login&#039;, search_data: &#039;{}&#039;, last_page: &#039;last page&#039;, no_more_posts: &#039;No more topics to display!&#039;, no_posts: &#039;No topics found matching your criteria!&#039; }; &amp;lt;/script&amp;gt; ```

http://criticalbathtub.co.uk

edited Nov 14 '15 at 7:32 pm

I have discovered that if I add a smiley with code ":/" it messes up and none of the smileys will load.

I have discovered that if I add a smiley with code &quot;:/&quot; it messes up and none of the smileys will load.

http://criticalbathtub.co.uk

I guess it is messing up with the parsing with that smiley.

I have discovered that if I add a smiley with code ":/"

Did you add it in the backend ?

I guess it is messing up with the parsing with that smiley. &amp;gt;I have discovered that if I add a smiley with code &quot;:/&quot; Did you add it in the backend ?

Yes, under UI elements/Smileys

I was able to add many others, with codes such as ":O", ":|" or ":wave:", but any with a "/" symbol had the problem I describe.

Yes, under UI elements/Smileys I was able to add many others, with codes such as &quot;:O&quot;, &quot;:|&quot; or &quot;:wave:&quot;, but any with a &quot;/&quot; symbol had the problem I describe.

http://criticalbathtub.co.uk

143
6
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft