Results 1 to 13 of 13

Thread: Server Problem...

  1. #1
    Join Date
    Jan 2008
    Posts
    6

    Default Server Problem...

    I recently had a problem with my server and now I am experiencing problems with IndexU. When attempting to access the script the following errors are returned...

    Warning: include(/home/awron/public_html/resources/themes/portaldex/msg.php) [function.include]: failed to open stream: Permission denied in /home/awron/public_html/resources/init.php on line 61

    Warning: include() [function.include]: Failed opening '/home/awron/public_html/resources/themes/portaldex/msg.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/*****/public_html/resources/init.php on line 61

    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/*****/public_html/resources/init.php:61) in /home/*****/public_html/resources/filters/filter.start_session.php on line 24

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/*****/public_html/resources/init.php:61) in /home/*****/public_html/resources/filters/filter.start_session.php on line 24

    Warning: Smarty error: unable to read resource: "/home/*****/public_html/resources/themes/portaldex/login_form.html" in /home/*****/public_html/resources/lib/smarty/Smarty.class.php on line 1088

    What could be causing these errors?

    Thanks for any assistance in advance.

  2. #2
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    The errors are quite plain, the script cannot include init.php. Replace it.

    That may solve all the issues as they look like they are all caused by that missing file.

  3. #3
    Join Date
    Jan 2008
    Posts
    6

    Default

    Thanks for the quick reply...


    The errors are quite plain, the script cannot include init.php. Replace it.

    That may solve all the issues as they look like they are all caused by that missing file.
    I have replaced init.php and it didn't correct the error.

  4. #4
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    What is the error now?

    erm as a note, did you look at msg.php to make sure it was there. I kinda looked at the error backwards.

  5. #5
    Join Date
    Jan 2008
    Posts
    6

    Default

    It's the same error as before.

    I also checked msg.php and it is in the correct dir.

  6. #6
    Join Date
    May 2007
    Location
    NJ, United States
    Posts
    1,651

    Default

    Quote Originally Posted by forbidden View Post
    Warning: include(/home/awron/public_html/resources/themes/portaldex/msg.php) [function.include]: failed to open stream: Permission denied in /home/awron/public_html/resources/init.php on line 61
    This shows its a permissions issue. What are the permissions set to on init.php and msg.php??? Are the user / group permissions correct on them as well???
    FSGDAG | IndexU Hosting | Owner
    Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
    Follow Us On Twitter | FaceBook Profile | YouTube Videos

  7. #7
    Join Date
    Jan 2008
    Posts
    6

    Default

    After double checking the permission levels, I am left with the following errors....

    Warning: Smarty::include(/home/*****/public_html/resources/templates_c/%%7F^7F8^7F858129%%login_form.html.php) [function.Smarty-include]: failed to open stream: Permission denied in /home/*****/public_html/resources/lib/smarty/Smarty.class.php on line 1251

    Warning: Smarty::include() [function.include]: Failed opening '/home/*****/public_html/resources/templates_c/%%7F^7F8^7F858129%%login_form.html.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/*****/public_html/resources/lib/smarty/Smarty.class.php on line 1251

  8. #8
    Join Date
    May 2007
    Location
    NJ, United States
    Posts
    1,651

    Default

    Quote Originally Posted by forbidden View Post
    Warning: Smarty::include(/home/*****/public_html/resources/templates_c/%%7F^7F8^7F858129%%login_form.html.php) [function.Smarty-include]: failed to open stream: Permission denied in /home/*****/public_html/resources/lib/smarty/Smarty.class.php on line 1251
    This is a permissions issue as well... Make sure your /template_c folder is set to 777
    FSGDAG | IndexU Hosting | Owner
    Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
    Follow Us On Twitter | FaceBook Profile | YouTube Videos

  9. #9
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    Clear your cache

    Admin panel - option - page caching

    And there's no substitute for reading the install guide and setting the permissions properly so these issues don't happen. It's why I wrote the guide.

  10. #10
    Join Date
    Jan 2008
    Posts
    6

    Default

    I can't clear the cache because I can't login to the script.

    This isn't a new install, the script was working fine up until my server crashed. So all of the permissions were set correctly.

    When I attempt to access the admin panel or the index I get the following error...

    Warning: Smarty::include(/home/****/public_html/resources/templates_c/%%7F^7F8^7F858129%%login_form.html.php) [function.Smarty-include]: failed to open stream: Permission denied in /home/*****/public_html/resources/lib/smarty/Smarty.class.php on line 1251

    Warning: Smarty::include() [function.include]: Failed opening '/home/*****/public_html/resources/templates_c/%%7F^7F8^7F858129%%login_form.html.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/*****/public_html/resources/lib/smarty/Smarty.class.php on line 1251


    I really appreciate all of your help.

  11. #11
    Join Date
    May 2007
    Location
    NJ, United States
    Posts
    1,651

    Default

    Did you check to see if the /template_c and /cache folders are set to 777 and have the correct user / group permissions on them???

    You can also clear the cache by deleting all the files that are in the /template_c and /cache folders
    FSGDAG | IndexU Hosting | Owner
    Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
    Follow Us On Twitter | FaceBook Profile | YouTube Videos

  12. #12
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    You don't need to log into the script, do it via FTP and delete them and then check ALL file permissions. You need to log in via FTP to check permissions anyways.

  13. #13
    Join Date
    Jan 2008
    Posts
    6

    Default

    I can't thank you guys enough, you were very helpful.

    The server still had a few problems and once the host got that straightened out I had the ability to correct the permission levels back to the required settings. I also needed to ftp a couple of dir's that seemed corrupt from the crash.

    IndexU is working great again. Now I need to get my other scripts back online...lol.

    Thanks Again

Similar Threads

  1. Blocks file in the server problem.
    By Scripter1 in forum v5.x
    Replies: 11
    Last Post: 03-15-2008, 01:35 PM
  2. Replies: 9
    Last Post: 10-29-2007, 05:49 PM
  3. Server Error Log
    By jovi in forum v5.x
    Replies: 10
    Last Post: 08-30-2006, 09:33 PM
  4. Replies: 1
    Last Post: 08-14-2005, 04:30 PM
  5. Server slow/down?
    By esm in forum v5.x
    Replies: 5
    Last Post: 01-03-2004, 10:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •