Post by promichael » Mon Nov 25, 2013 9:33 am

Hi,

I am using Crazydomain.com.au hosting service and after they upgraded web hosting, our website is down. :(
We haven't touched any code and used to work properly (www.laptoppanel.com.au), but they said our web coding has problem.

Here is the error message each time open the website.
======================================================
Warning: require_once(/home/laptoppa/public_html/system/startup.php) [function.require-once]: failed to open stream: No such file or directory in /home1/laptoppa/public_html/index.php on line 21

Fatal error: require_once() [function.require]: Failed opening required '/home/laptoppa/public_html/system/startup.php' (include_path='.:/usr/lib/php') in /home1/laptoppa/public_html/index.php on line 21
======================================================

Is anyone can give me some idea?

Cheers,
Michael

Newbie

Posts

Joined
Thu Aug 25, 2011 2:32 am

Post by cwswebdesign » Mon Nov 25, 2013 9:44 am

Your config file isn't properly pointing to the directory that contains the startup.php file. More than likely the directory has changed since you said they upgraded servers.

DL

This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.

Thanks!


User avatar
Active Member

Posts

Joined
Sun Dec 11, 2011 12:26 am
Location - USA

Post by promichael » Mon Nov 25, 2013 10:45 am

So, what is the solution for issue? How can I fix this problem?

Cheers,
Michael

Newbie

Posts

Joined
Thu Aug 25, 2011 2:32 am

Post by cwswebdesign » Mon Nov 25, 2013 10:54 am

promichael wrote:So, what is the solution for issue? How can I fix this problem?

Cheers,
Michael
Put this code in a new file and name it path.php Then upload it to your root directory and go www.laptoppanel.com.au/path.php and it'll tell you the full path. Take that path and edit both config files and re upload. If you want, you can make a copy of both config files before editing them. This is one step and if they've delete any files, you'll need to reupload them but hopefully this is the full fix.

<?php
$dir = dirname(__FILE__);
echo "<p>Full path to this dir: " . $dir . "</p>";
echo "<p>Full path to a .htpasswd file in this dir: " . $dir . "/.htpasswd" . "</p>";
?>

DL

This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.

Thanks!


User avatar
Active Member

Posts

Joined
Sun Dec 11, 2011 12:26 am
Location - USA

Post by promichael » Mon Nov 25, 2013 11:21 am

I just fix the problem. Thank you !!!!!!!!!!!!!!!!!!!

Cheers,
Michael
www.laptoppanel.com.au

Newbie

Posts

Joined
Thu Aug 25, 2011 2:32 am

Post by cwswebdesign » Mon Nov 25, 2013 11:53 am

You're welcome.

DL

This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.

Thanks!


User avatar
Active Member

Posts

Joined
Sun Dec 11, 2011 12:26 am
Location - USA

Post by dashisiong » Fri Sep 18, 2015 1:51 am

I have to say thanks to cwswebdesign.

It works!!! Thanks alot!

Newbie

Posts

Joined
Thu Sep 25, 2014 5:08 am

Post by StormDesigner » Wed May 11, 2016 9:32 am

Another appreciative OpenCart user. Same issue, this solution worked perfectly. Just updated the config.php files in the root and in the admin and BOOM! working. That path.php script made it very obvious where the problem was in terms of directory path.

Thank you DL, CWS Webdesign and Evolve Hosting.

StormDesigns, Inc. Website Design and Web Application Development - plus graphic design and print media.

www.StormDesigns.com


User avatar
Newbie

Posts

Joined
Wed Feb 01, 2012 1:53 am


Post by EvolveWebHosting » Mon Jun 13, 2016 7:08 am

Glad to see this post is helping a few of you and probably more in the near future. It's an easy thing to over look.

Image
https://www.evolvewebhost.com
Unhappy with your current host? We can migrate your account today (usually for no fee)! Visit our website and signup and we'll take care of the rest!
24/7/365 support
Image


User avatar
Active Member

Posts

Joined
Fri Mar 27, 2015 11:13 pm
Location - Denver, Colorado, USA

Post by warisaha » Wed Nov 15, 2017 12:06 pm

Hello everyone!

I'm also haveing the similar issue. My website is www.ddplus.us and I'm getting the following error.
Fatal error: require_once(): Failed opening required '/home3/deccanys/public_html/www.ddplus.us/catalog/model/module/wate ... ermark.php' (include_path='.:/opt/alt/php54/usr/share/pear:/opt/alt/php54/usr/share/php') in /home/deccanys/public_html/www.ddplus.us/system/modification/catal ... /image.php on line 4

One more thing the admin login page i.e. http://ddplus.us/admin is loading but i'm unable to log into using the correct credentials.
Can anyone help me out. Thanks in advance!

Newbie

Posts

Joined
Tue Sep 19, 2017 2:31 pm

Post by straightlight » Thu Nov 16, 2017 1:47 am

warisaha wrote:
Wed Nov 15, 2017 12:06 pm
Hello everyone!

I'm also haveing the similar issue. My website is www.ddplus.us and I'm getting the following error.
Fatal error: require_once(): Failed opening required '/home3/deccanys/public_html/www.ddplus.us/catalog/model/module/wate ... ermark.php' (include_path='.:/opt/alt/php54/usr/share/pear:/opt/alt/php54/usr/share/php') in /home/deccanys/public_html/www.ddplus.us/system/modification/catal ... /image.php on line 4

One more thing the admin login page i.e. http://ddplus.us/admin is loading but i'm unable to log into using the correct credentials.
Can anyone help me out. Thanks in advance!
Already replied on this post: viewtopic.php?f=191&t=199609&p=703213&h ... rk#p703213

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Guru Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 23 guests