Post by HAL 9000 » Fri Oct 24, 2008 1:42 am

I just installed 0.7.9RC3 and I am getting the following error when I am accessing

Admin -> Configuration -> setting


All the other stuff are working.
________________________________

Notice: Use of undefined constant DIR_LIBRARY - assumed 'DIR_LIBRARY' in /home/www/admin/index.php on line 37

Warning: require(DIR_LIBRARYlocator.php) [function.require]: failed to open stream: No such file or directory in /home/www/admin/index.php on line 37

Fatal error: require() [function.require]: Failed opening required 'DIR_LIBRARYlocator.php' (include_path='.:/usr/local/php5/lib/php') in /home/www/admin/index.php on line 37
________________________________

New member

Posts

Joined
Thu Sep 11, 2008 8:53 pm

Post by Qphoria » Fri Oct 24, 2008 1:50 am

Did you install any contribs? I just tried this on a fresh install and I'm not seeing this.
DIR_LIBRARY should be defined in your config.php file.

Did you upgrade from 0.7.8? or did you do fresh install?

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by HAL 9000 » Fri Oct 24, 2008 1:58 am

This is a fresh install. I did not install any contribs. New database and everything.


Bharat

New member

Posts

Joined
Thu Sep 11, 2008 8:53 pm

Post by HAL 9000 » Fri Oct 24, 2008 2:17 am

Qphoria,

I did not do anything. I refreshed the page just now and it is working fine. No error messages.


Bharat

New member

Posts

Joined
Thu Sep 11, 2008 8:53 pm

Post by HAL 9000 » Fri Oct 24, 2008 2:22 am

Now nothing except Admin -> Configuration -> setting is working.

All admin menus are leading to the following message on catalog.

The page you requested cannot be found!
The page you requested cannot be found.


I did not do anything other than hit F5

New member

Posts

Joined
Thu Sep 11, 2008 8:53 pm

Post by hm2k » Fri Oct 24, 2008 2:38 am

You need to try and upgrade again, you haven't uploaded the files correctly.

UK Web Hosting


User avatar
Global Moderator

Posts

Joined
Tue Mar 11, 2008 9:06 am
Location - UK

Post by JNeuhoff » Fri Oct 24, 2008 2:40 am

Maybe there is a problem with your '.htaccess' files. What's the URL of your site? And what's in your '.htaccess' file of your main OpenCart directory and your admin directory?

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by HAL 9000 » Fri Oct 24, 2008 2:59 am

http://kottu.chtin60days.com/

__________________________


'.htaccess' file of your main OpenCart directory
__________________________



# Uncomment this to ensure that register_globals is Off
#php_flag register_globals Off

# URL Alias - see install.txt


RewriteEngine On

# Uncomment this if your URL is not directly related to the physical file paths.
#RewriteBase /store/

#OPENCART REWRITES START
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php
#OPENCART REWRITES END



________________________________________

'.No .htaccess file in OpenCart admin directory

________________________________________

New member

Posts

Joined
Thu Sep 11, 2008 8:53 pm

Post by HAL 9000 » Fri Oct 24, 2008 3:01 am

I will try a fresh install in a few hours and will let you know if the problem persists. Thanks

New member

Posts

Joined
Thu Sep 11, 2008 8:53 pm
Who is online

Users browsing this forum: No registered users and 2 guests