Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 06-20-2006 21:26:02

ellehazen
Member
Registered: 03-14-2006
Posts: 129

Creating New Site Element & Editing Content

Help... I'm on a deadline for launching my site and I'm having a major issue!!!

I created a new Site Element, which worked, but all it will display is the same stuff located on the Splash Page.  I cant figure this out...  None of the code that I am entering is making a difference, and it's driving me CRAZY!!!

Any Ideas???

Offline

 

#2 06-20-2006 23:19:51

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: Creating New Site Element & Editing Content

Did you define the element page in ccp51/data/tables/syspage.csv?

With out the page being defined in syspage.csv ccp will not reconize it and will revert to the splash page.

Updated post : I first said to change config_syspage.csv when it should have been syspages.csv (sorry)

John

Offline

 

#3 06-20-2006 23:48:55

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: Creating New Site Element & Editing Content

I have changed my previous post.

John

Offline

 

#4 06-21-2006 14:01:05

ellehazen
Member
Registered: 03-14-2006
Posts: 129

Re: Creating New Site Element & Editing Content

I did not.  What do I need to do in order to include it in this file???

Thanks for your help smile

Offline

 

#5 06-21-2006 14:08:03

redmanstudios
Member
Registered: 11-10-2003
Posts: 387

Re: Creating New Site Element & Editing Content

to call an element use

(CGIGET TYPE="ELEMENT" VALUE="ste_somename")

where ste_somename is the element id

hope that helps

james

Offline

 

#6 06-21-2006 14:34:50

ellehazen
Member
Registered: 03-14-2006
Posts: 129

Re: Creating New Site Element & Editing Content

OK, NOW I'm FREAKING OUT!!!!  I went into the file, it looked simple enough to figure out, and I put the appropriate variables where they went.  Put the update file in, and then my whole site DISAPPEARED and I got this message:

Script Execution Error

The following error was just encountered:

DBD::AnyData::st fetchall_arrayref failed: Attempt to fetch row from a Non-SELECT statement at /var/www/cgi-bin/store/library/common/database.pl line 626. SELECT syspage_id,syspage_name,syspage_content,syspage_titleimg,syspage_usetitleimg,syspage_storestatus FROM syspage


So, I took the original file, put it back where it was, and I'm still getting THE SAME ERROR MESSAGE!!!!!  HELP!!!

Script Execution Error

The following error was just encountered:

DBD::AnyData::st fetchall_arrayref failed: Attempt to fetch row from a Non-SELECT statement at /var/www/cgi-bin/store/library/common/database.pl line 626. SELECT syspage_id,syspage_name,syspage_content,syspage_titleimg,syspage_usetitleimg,syspage_storestatus FROM syspage



MY Whole Site is GONE!!!!!!!!! I cant figure this out!!!!??????


PLEASE HELP!!!

Offline

 

#7 06-21-2006 14:36:09

ellehazen
Member
Registered: 03-14-2006
Posts: 129

Re: Creating New Site Element & Editing Content

James:

I had already tried to call an element use by using that... but it didnt work.  That's why I was confused...

(CGIGET TYPE="ELEMENT" VALUE="ste_somename")

Offline

 

#8 06-21-2006 17:11:54

redmanstudios
Member
Registered: 11-10-2003
Posts: 387

Re: Creating New Site Element & Editing Content

ok then this might be the problem.
1.you need to set the permisions of the tables directory to 777.
2. delete the element in the elements folder that you created manuall via ftp
3. re-create the element via the admin panel

that should do it. if not email me and i will see what i can do.

James

Offline

 

#9 06-21-2006 19:19:09

ellehazen
Member
Registered: 03-14-2006
Posts: 129

Re: Creating New Site Element & Editing Content

But I did not create anything manually... The syspage.cvs was a file that already existed. 

Table Permissions are set to 777...


All Elements that I have were created using the admin panel before I modified the syspage.cvs file in the data/tables folder... and were not blocking anything from my store at that time.

wwwroversallover.com/store  (in case you want to check it out)

Offline

 

#10 06-22-2006 09:11:42

redmanstudios
Member
Registered: 11-10-2003
Posts: 387

Re: Creating New Site Element & Editing Content

now that i re-red the post i should spell better.

ok do this
1. delete the elements from the store admin that you have created.
2. now that the tables direcotry is verified at 777 do the same with the elements directory
3.re-create the elements via the admin panel again.
4. try and call them using (CGIGET TYPE="ELEMENT" VALUE="ste_somename")

the issue is that either the either the element text file is not writeable (being created when you do it in the admin section)
or the table is writable and the element is not being registered in the system even though it will create the element text file.

let me know how it goes.

Offline

 

#11 06-26-2006 16:40:54

ellehazen
Member
Registered: 03-14-2006
Posts: 129

Re: Creating New Site Element & Editing Content

What I was really trying to do was create new, non-shopping cart pages... but I was also just trying to figure out how to add anything new. 

I guess I'm somewhat confused about when to make something a new element and when to make something a New "HTML Page (User)." 

What I'm currently trying to do is make a section on my website that describes what my company does with a % of proceeds to help dogs in need.  Nothing I was doing in elements was showing up.  Finally I went in and made a new "HTML Page (User)" and I got something to come up.  I also created three headings to browse which would share the same layout and setup at the top (Our Mission, How We Help, and Rescue Rovers).

(to check out, go to wwwroversallover.com/store  and scroll down to click on the "Rescue ROVERS" selection or pic)

However, when I made another HTML Page (User) for the Our Mission heading, it keeps taking me back to the splash page, even though I have it appropriately linked to the ste_mission file.

So what am I doing wrong.  Should I have made something an element instead?  I am very confused...

Thanks for your help...

-Michelle

Offline

 

#12 06-26-2006 23:21:59

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: Creating New Site Element & Editing Content

What or how did you link the Mission link to your infomation?

John

Offline

 

#13 06-26-2006 23:29:38

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: Creating New Site Element & Editing Content

From a view of the code from your site

<td width="180" height="60" class="browsetabs"><img border="0" src="http://www.roversallover.com/store/media/images/site/lrg_arrow.gif" width="22" height="12"><a href="http://www.roversallover.com/cgi-bin/store/cp-app.cgi?usr=51J2887975&rnd=1467681&rrc=N&affl=&cip=71.209.169.236&act=&aff==ste_mission">Our Mission...</a></

there is a missing "&pg" tag refance between "&aff==ste_mission".

You need to check the code that links this page and include the &pg in the link.

John

Offline

 

Board footer