PDA

View Full Version : error after insert PHP Code: include ("in.php"); in my


iceface
14th March 2009, 05:14 AM
Hallo,

as first excuse my bad english.

Today I installed the version 5.0.4 on a new page.
Installation was ok, without any problems. I can Login to the admin site and can add new trades. Every thing is OK.

But, after insert the php code (for the in.php) to my site i become the following message and the page doesn´t work.


Warning
Error
mysql_connect() [function.mysql-connect]: Access denied for user 'web15'@'localhost' (using password: NO)
File
cj-functions.inc.php
Line
22

This code i put to my site.
<?php include("cj/in.php"); ?>

On my other domain I installed 5.0.3 and it works perfect.


Can anybody help me, to find the mistake?

Greets Iceface

ICEFIRE
14th March 2009, 04:06 PM
Probably your php installation doesn't make proper includes when the rest of the files are in a separate directory like in your cased (the cj directory).

The most easy option is to move the contents of the cj directory to the main directory where your other files are.

Other option is to copy only the files that are out of the cjadmin directory.