Forums

Can't add a 'new page' with this theme? (8 posts)

  1. Vicki-221
    Member
    Posted 1 year ago #

    HI

    I am using this theme:

    Semiologic 0.9.3 by Denis de Bernardy
    The Semiologic theme, Reloaded.
    All of this theme’s files are located in /themes/sem-reloaded.

    When I try to add a new page I get this error message:

    Fatal error: Cannot redeclare ob_multipart_entry() (previously declared in /home/content/68/7059068/html/wp-content/themes/sem-reloaded/inc/multipart-entry/multipart-entry.php:15) in /home/content/68/7059068/html/wp-content/themes/sem-reloaded/inc/multipart-entry/multipart-entry.php on line 21

    When I change to twenty ten theme I am able to write a new page no problem?

    Any ideas please, and its a brand new build so no extra plugins at the moment.

    Many thanks
    Vicki

  2. Vicki-221
    Member
    Posted 1 year ago #

    Has anyone got a clue on this one?

  3. smacdonald
    Member
    Posted 1 year ago #

    Hi Vicki,

    You should be able to edit this page:

    /home/content/68/7059068/html/wp-content/themes/sem-reloaded/inc/multipart-entry/multipart-entry.php

    Wrap the function declaration in an if statement like so:

    if ( !function_exists('ob_multipart_entry') ) {
    	function ob_multipart_entry($buffer) {
    		return str_replace(
    			'<form name="post"',
    			'<form enctype="multipart/form-data" name="post"',
    			$buffer
    			);
    	} # ob_multipart_entry()
    }

    Hope this helps,

    Stewart

  4. delikid
    Member
    Posted 1 year ago #

    Stewart's function declaration FIXED the problem!!!

    YEAH, Stewart!

    Many Thanks!!!

  5. momstayhome
    Member
    Posted 10 months ago #

    Hi,

    I tried to copy and paste the code above to solve the problem and now it is even worse...

    I now have the following error and I cannot even logged into wp-admin..

    Parse error: syntax error, unexpected T_ENDIF in /home/jolim26/public_html/wp-content/themes/sem-reloaded/functions.php on line 68

    Can anyone help? TIA

    Regards,
    Jo

  6. smacdonald
    Member
    Posted 10 months ago #

    Did you copy and paste the code exactly? What's line 68 in that file?

    Stewart

  7. nelsonvan11
    Member
    Posted 10 months ago #

    Yeah i got this problem too and already fixed it. However, I changed my theme. Please check out my new WordPress blog about "Psychic Help"
    at http://www.psychicyouniverse.com/ and suggest any improvements
    and/or other comments.

    Thanks for your help!" :)

  8. momstayhome
    Member
    Posted 10 months ago #

    Hi Stewart,

    Can you advise.. how to made the necessary change.. I deleted the sem-reloaded and reinstall the same theme.. but my pages are now missing even though under wp-admin... i could still view them but no longer on my website http://www.momstayhome.com

    Do I need to recreate the pages all over again?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.