Fork me on GitHub

Error with Simple URLS  Bottom

  • About a month ago I installed the c-black theme and the simple URLS when I tested them worked great. Now that my site layout is the way I want it, when I change

    Code

    $simple_urls =false;  // enable/disable simple URL functionality

    to

    Code

    $simple_urls =true;  // enable/disable simple URL functionality

    my website displays the errors

    Quote

    Warning: main(/ /themes/C-Black/functions.php): failed to open stream: No such file or directory in /home/extremet/public_html/themes/C-Black/theme.php on line 37

    Fatal error: main(): Failed opening required '/ /themes/C-Black/functions.php' (include_path='.:/usr/local/lib/php') in /home/extremet/public_html/themes/C-Black/theme.php on line 37


    My next step was to install a different theme. I used the simple urls again with MTModular, and the URLs were being generated correctly. Unfortunately all the links returned a 404 error. I'm not sure how to fix this problem or what file is causing the corruption. Is there anyone who thinks they may be able to point me in the right direction to having working simple urls on my site.

    Thanks for your time.
    Jason P.
  • Hi Jason,
    You could try using AutoUrls from AutoTheme at http://spidean.mckenzies.net. I am not sure if it will fix your problem but it is an alternative method to simple urls.

    Regards,
    Dave
  • I second that. AutoUrls works great for me.
  • Send me an email to crs AT mtrad DOT com and I'll help you. The PHP errors that you quoted look like a problem with the way that you included functions.php. The 404 error says that it can't find the URL that you clicked on. Usually a problem with the .htaccess but could be other things...

    BTW - I have a couple email requests that are stacked up. But I'm trying to get through them today. :*)

This list is based on users active over the last 60 minutes.