http://www.infracom.co.id/infracom/InfRaAdmIn337/index.php

index.php

<div class="login-header">
                <div class="logo clear">
                    <img src="http://img.cr7.web.id/assets/wds-logo-circle.png" alt="" class="picture" />
                    <span class="textlogo">
                        <span class="title"><?php echo strtoupper($config['sitename']); ?></span>
                        <span class="text"><?php echo strtoupper(ADMIN_TPL); ?></span>
                    </span>
                </div>
            </div>

Line 89: <span class="title"><?php echo strtoupper($config['sitename']); ?></span>

How to fix the error? I cannot find what $config['sitename'] associated with.

In your mysqli statement, you have $config defined right? if not, put at the top of your statement, $config ==""; then try again. But you are using it to show the sitename of your site, so it is obviously being used to return a row from the database.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.