Forums / Customization from the Admin / How to remove Missing message in Layout Boxes Controller

How to remove Missing message in Layout Boxes Controller

Locked
Results 1 to 9 of 9
This thread is locked. New replies are disabled.
16 Nov 2007, 10:29
#1
baljeet avatar

baljeet

New Zenner

Join Date:
Sep 2007
Posts:
18
Plugin Contributions:
0

How to remove Missing message in Layout Boxes Controller

In Admin panel , under Tools menu , When i click on Layout Boxes Controller it is showing messages Missing Missing on file Character.php (sideboxes/character.php). i have already placed the file character.php under Sideboxes folder under module folder. I have also made the template file tpl_character.php under my template folder(wms/sideboxes/tpl_character.php). I have entered the file character.php in the table zen_layout_boxes . but still is showing Missing Missing on character.php.

Please check this attachment and suggest me.

Baljeet :no:
16 Nov 2007, 11:39
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: How to remove Missing message in Layout Boxes Controller

Click on the "missing" line.
Then in the sidebox click the Delete button.
16 Nov 2007, 12:50
#3
baljeet avatar

baljeet

New Zenner

Join Date:
Sep 2007
Posts:
18
Plugin Contributions:
0

Re: How to remove Missing message in Layout Boxes Controller

But sir , by doing this way it will delete my file character.php from the list. Actually i want to disable/delete the Missing message. why this message is showing . What places should i need to place the file character.php. Where i am wrong?It should not display any message like missing in layout box controller while listing.


Baljeet:huh:
16 Nov 2007, 13:52
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: How to remove Missing message in Layout Boxes Controller

Baljeet:

I have entered the file character.php in the table zen_layout_boxes
Why are you manually inserting records into the database?
17 Nov 2007, 07:03
#5
baljeet avatar

baljeet

New Zenner

Join Date:
Sep 2007
Posts:
18
Plugin Contributions:
0

Re: How to remove Missing message in Layout Boxes Controller

how can i insert the record like character.php (in layout box controller ) in to the database. What is the way for inserting the record from admin.
17 Nov 2007, 07:04
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: How to remove Missing message in Layout Boxes Controller

Baljeet:

how can i insert the record like character.php (in layout box controller ) in to the database. What is the way for inserting the record from admin.


Records are automatically inserted when you upload a new sidebox module.
17 Nov 2007, 09:23
#7
baljeet avatar

baljeet

New Zenner

Join Date:
Sep 2007
Posts:
18
Plugin Contributions:
0

Re: How to remove Missing message in Layout Boxes Controller

Actually i created a new file that is character.php and tpl_character.php.
i placed the character.php in includes\modules\sideboxes/character.php
and tpl_character.php file under includes\templates\wms\sideboxes/tpl_character.php

It is not inserted automatically.Still it is not showing the file character.php in Layout Box Controller in admin panel. But if i manually insert this file into zen_layout_boxes table then it will show the file in Layout Box Controller with missing message on it. Screen Shot i placed in my first thread.

What are the ways to insert the file automatically into the table and into the Layout Box Controller.

Baljeet :frusty::
17 Nov 2007, 09:44
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: How to remove Missing message in Layout Boxes Controller

Zen Cart retrieves a directory listing of *.php files from your server's /includes/modules/sideboxes folder and uses that to build the list.

If it can't find the files, then you've most likely got incorrect information in your admin configure.php file. Either that or you've got a problem with your PHP configuration preventing it from reading file listings.

The fact that it was telling you that your manually-entered sidebox name is "missing" confirms that your admin and/or PHP configuration has a problem.

You probably have wrong path information in your admin for the DIR_FS_xxxxxxx settings ... either that or you're not uploading the files to the right folder/server/account.
19 Nov 2007, 06:27
#9
baljeet avatar

baljeet

New Zenner

Join Date:
Sep 2007
Posts:
18
Plugin Contributions:
0

Re: How to remove Missing message in Layout Boxes Controller

Thank you so much for guiding me on this topic. Actually i find that my Config.php and Configure.php file following the wrong path that's why it is showing Missing message in the Layout Boxes Controller .

Thank you once again for giving me instruction to solve my problem.

Baljeet :clap: