When is the Photo Gallery going to be fixed?

Thread Tools
 
Search this Thread
 
Old Mar 13, 2008 | 01:58 PM
  #16  
whitecrystal1's Avatar
Senior Member
Joined: Jul 2006
Posts: 1,593
Likes: 0
Originally Posted by Cars2007
Paste the error message you get into this thread and I'll take a look.
Here's the error given

EXCEPTION INFO
Exception overview
Error message: The variable "client.gallery_id" is not defined!
Error type: expression
File: /opt/tomcat6/webapps/ROOT/galleries/admin/photodefine.cfm
Row: 37
Column: 4

Program code
35 </script>
36
37 <CFQUERY DATASOURCE = "f150galleries" NAME = "qGetAlbum">
38 SELECT album_id, album_label
39 FROM album_t

Stack trace
[Error message: The variable "client.gallery_id" is not defined!]
com.youngculture.smith.engine.cfutil.SmithStruct.g etVar(Unknown Source)
__smithdynamic._var._www._html._f150online._htdocs ._galleries._admin._photodefine.execute(_photodefi ne.java:71)
com.youngculture.smith.engine.pages.CfPage.run(Unk nown Source)
com.youngculture.smith.engine.pages.PageUtil.runPa ge(Unknown Source)
com.youngculture.smith.engine.util.PageDispatcher. includePage(Unknown Source)
com.youngculture.smith.engine.util.PageDispatcher. includePage(Unknown Source)
com.youngculture.smith.engine.servlets.SmithServle t.serviceRequest(Unknown Source)
com.youngculture.smith.engine.servlets.SmithServle t.service(Unknown Source)
javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109)
org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:263)
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyo teHandler.java:190)
org.apache.jk.common.HandlerRequest.invoke(Handler Request.java:283)
org.apache.jk.common.ChannelSocket.invoke(ChannelS ocket.java:767)
org.apache.jk.common.ChannelSocket.processConnecti on(ChannelSocket.java:697)
org.apache.jk.common.ChannelSocket$SocketConnectio n.runIt(ChannelSocket.java:889)
org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:690)
java.lang.Thread.run(Thread.java:619)
 
Reply
Old Mar 14, 2008 | 06:30 AM
  #17  
jbrew's Avatar
Technical Article Contributor
Joined: Oct 2005
Posts: 25,641
Likes: 19
From: MI
I just received this one when I try to change the picture order in my gallery.


EXCEPTION INFO
Exception overview
Error message: The client scope is not enabled! Use CFAPPLICATION tag to enable it.
Error type: security
File: /opt/tomcat6/webapps/ROOT/galleries/admin/orderview.cfm
Row: 6
Column: 4

Program code
4 </CFIF>
5
6 <CFQUERY DATASOURCE = "f150galleries" NAME = "getpics">
7 SELECT photo_filename, photo_label, photo_thumb, photo_id, photo_order
8 FROM photo_t

Stack trace
[Error message: The client scope is not enabled! Use CFAPPLICATION tag to enable it.]
com.youngculture.smith.engine.cfutil.scopes.Client Scope.checkAcess(Unknown Source)
com.youngculture.smith.engine.cfutil.scopes.Client Scope.get(Unknown Source)
com.youngculture.smith.engine.cfutil.SmithStruct.g etElement(Unknown Source)
com.youngculture.smith.engine.cfutil.SmithStruct._ getVar(Unknown Source)
com.youngculture.smith.engine.cfutil.SmithStruct.g etVar(Unknown Source)
__smithdynamic._var._www._html._f150online._htdocs ._galleries._admin._orderview.execute(_orderview.j ava:28)
com.youngculture.smith.engine.pages.CfPage.run(Unk nown Source)
com.youngculture.smith.engine.pages.PageUtil.runPa ge(Unknown Source)
com.youngculture.smith.engine.util.PageDispatcher. includePage(Unknown Source)
com.youngculture.smith.engine.util.PageDispatcher. includePage(Unknown Source)
com.youngculture.smith.engine.servlets.SmithServle t.serviceRequest(Unknown Source)
com.youngculture.smith.engine.servlets.SmithServle t.service(Unknown Source)
javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109)
org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:263)
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyo teHandler.java:190)
org.apache.jk.common.HandlerRequest.invoke(Handler Request.java:283)
org.apache.jk.common.ChannelSocket.invoke(ChannelS ocket.java:767)
org.apache.jk.common.ChannelSocket.processConnecti on(ChannelSocket.java:697)
org.apache.jk.common.ChannelSocket$SocketConnectio n.runIt(ChannelSocket.java:889)
org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:690)
java.lang.Thread.run(Thread.java:619)


Everything else works , I just have a problem trying to move them around.
 
Reply
Old Mar 14, 2008 | 02:18 PM
  #18  
Stealth's Avatar
Senior Member
Truck of the Month
Joined: Nov 2005
Posts: 17,118
Likes: 7
From: Burleson, Texas
So what was wrong with how things were before the migration? Everything worked fine. You know, if it ain't broke........
 
Reply
Old Mar 14, 2008 | 08:30 PM
  #19  
IB ATEST's Avatar
F150online
Administrator
Joined: Jun 2007
Posts: 53
Likes: 0
Originally Posted by Stealth
So what was wrong with how things were before the migration? Everything worked fine. You know, if it ain't broke........
We had some trouble getting the old ColdFusion module working with the new server. There were certain libraries it didn't like and there was a problem with JRun.

A multi-machine license for ColdFusion MX is somewhere around $8,000. (Per CPU, as I recall - so around $16,000 for two servers, $24,000 for 3, and so on.) That was out of the question. There is another product called BlueDragon, which is cheaper, but still thousands of dollars if we wanted to use it on 2 or more CPUs (with another charge every time we added a machine to the pool.) In both cases we would have been looking at potential code changes anyway, since the gallery was written under ColdFusion 5. BlueDragon is CF 6 (or newer) and CF MX is in version 8.

In the end, I decided to go with the open source CF engine and do whatever porting / bugfixing was required to get it running.
 
Reply
Old Mar 14, 2008 | 09:27 PM
  #20  
IB ATEST's Avatar
F150online
Administrator
Joined: Jun 2007
Posts: 53
Likes: 0
Originally Posted by jbrew
I just received this one when I try to change the picture order in my gallery.
That problem may have been caused by something not getting recompiled and should be fixed. (The CFAPPLICATION tag *is* used in that file.) I am able to reorder photos in my galleries.

Originally Posted by whitecrystal1
Here's the error given
I was able to upload a bunch of pictures. Try uploading them one at a time if it gives you any trouble, and especially if any of the files are large (more than a few hundred KB.)
 
Reply
Old Mar 14, 2008 | 11:20 PM
  #21  
jbrew's Avatar
Technical Article Contributor
Joined: Oct 2005
Posts: 25,641
Likes: 19
From: MI
Fixed!! Thanks

 

Last edited by jbrew; Mar 15, 2008 at 09:47 PM.
Reply
Old Mar 15, 2008 | 12:37 PM
  #22  
machinehead's Avatar
Member
Joined: Feb 2006
Posts: 57
Likes: 0
From: hartford sd
I get this message when i tried to add photos



EXCEPTION INFO
Exception overview
Error message: The variable "client.gallery_id" is not defined!
Error type: expression
File: /opt/tomcat6/webapps/ROOT/galleries/admin/photodefine.cfm
Row: 37
Column: 4

Program code
35 </script>
36
37 <CFQUERY DATASOURCE = "f150galleries" NAME = "qGetAlbum">
38 SELECT album_id, album_label
39 FROM album_t

Stack trace
[Error message: The variable "client.gallery_id" is not defined!]
com.youngculture.smith.engine.cfutil.SmithStruct.g etVar(Unknown Source)
__smithdynamic._var._www._html._f150online._htdocs ._galleries._admin._photodefine.execute(_photodefi ne.java:71)
com.youngculture.smith.engine.pages.CfPage.run(Unk nown Source)
com.youngculture.smith.engine.pages.PageUtil.runPa ge(Unknown Source)
com.youngculture.smith.engine.util.PageDispatcher. includePage(Unknown Source)
com.youngculture.smith.engine.util.PageDispatcher. includePage(Unknown Source)
com.youngculture.smith.engine.servlets.SmithServle t.serviceRequest(Unknown Source)
com.youngculture.smith.engine.servlets.SmithServle t.service(Unknown Source)
javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109)
org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:263)
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyo teHandler.java:190)
org.apache.jk.common.HandlerRequest.invoke(Handler Request.java:283)
org.apache.jk.common.ChannelSocket.invoke(ChannelS ocket.java:767)
org.apache.jk.common.ChannelSocket.processConnecti on(ChannelSocket.java:697)
org.apache.jk.common.ChannelSocket$SocketConnectio n.runIt(ChannelSocket.java:889)
org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:690)
java.lang.Thread.run(Thread.java:619)

Please help, Cars2007 I really dont know how this works.
 
Reply
Old Mar 16, 2008 | 12:41 AM
  #23  
Lightguy's Avatar
Senior Member
Joined: Sep 2000
Posts: 158
Likes: 0
From: Springfield, Missouri
Ok,

Here is my picture story.

I spent ALL day trying to update my galleries. I would load pics, label them, write decriptions just so that on the final load deal, I would get the error messages and it would not load. Then, I start over. Sometimes it takes the pics but not the text. So, re-type it all. I have almost got it all completed after fighting and cussing it all day but then tonight I go in to "change order" on a couple of the galleries and it throws up another page of error crap. It now wont let me "edit" or "chage labels" or "chane order" or anything. By reading these posts from a month back this does not seem like a new deal but I cannot believe how difficult it has become. I have been away from here for awhile....wow.
 
Reply
Old Mar 16, 2008 | 02:02 AM
  #24  
jbrew's Avatar
Technical Article Contributor
Joined: Oct 2005
Posts: 25,641
Likes: 19
From: MI
Originally Posted by Lightguy
Ok,

Here is my picture story.

I spent ALL day trying to update my galleries. I would load pics, label them, write decriptions just so that on the final load deal, I would get the error messages and it would not load. Then, I start over. Sometimes it takes the pics but not the text. So, re-type it all. I have almost got it all completed after fighting and cussing it all day but then tonight I go in to "change order" on a couple of the galleries and it throws up another page of error crap. It now wont let me "edit" or "chage labels" or "chane order" or anything. By reading these posts from a month back this does not seem like a new deal but I cannot believe how difficult it has become. I have been away from here for awhile....wow.

Cars2007 has explained what's going on above. It has also been posted to copy and paste the error your receiving into this thread so that it may be corrected. You haven't done so..?

This is a free to join site that has many advantages in becoming a member. The administer is working with us on the problems and after his explanation as to why these errors are occurring, it's understandable.

I suggest you read from the beginning of this thread and follow direction to correct the issues you are having. It worked for me.
 
Reply
Old Mar 16, 2008 | 10:36 AM
  #25  
Lightguy's Avatar
Senior Member
Joined: Sep 2000
Posts: 158
Likes: 0
From: Springfield, Missouri
Very well. I had posted the error somewhere else on the site in this conversation but I did not here.

This morning I am getting the following error when trying to re-arrange numbering


Error message: The variable "client.gallery_id" is not defined!
Error type: expression
File: /opt/tomcat6/webapps/ROOT/galleries/admin/orderview.cfm
Row: 6
Column: 4

Program code
4 </CFIF>
5
6 <CFQUERY DATASOURCE = "f150galleries" NAME = "getpics">
7 SELECT photo_filename, photo_label, photo_thumb, photo_id, photo_order
8 FROM photo_t

Stack trace
[Error message: The variable "client.gallery_id" is not defined!]
com.youngculture.smith.engine.cfutil.SmithStruct.g etVar(Unknown Source)
__smithdynamic._var._www._html._f150online._htdocs ._galleries._admin._orderview.execute(_orderview.j ava:35)
com.youngculture.smith.engine.pages.CfPage.run(Unk nown Source)
com.youngculture.smith.engine.pages.PageUtil.runPa ge(Unknown Source)
com.youngculture.smith.engine.util.PageDispatcher. includePage(Unknown Source)
com.youngculture.smith.engine.util.PageDispatcher. includePage(Unknown Source)
com.youngculture.smith.engine.servlets.SmithServle t.serviceRequest(Unknown Source)
com.youngculture.smith.engine.servlets.SmithServle t.service(Unknown Source)
javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109)
org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:263)
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyo teHandler.java:190)
org.apache.jk.common.HandlerRequest.invoke(Handler Request.java:283)
org.apache.jk.common.ChannelSocket.invoke(ChannelS ocket.java:767)
org.apache.jk.common.ChannelSocket.processConnecti on(ChannelSocket.java:697)
org.apache.jk.common.ChannelSocket$SocketConnectio n.runIt(ChannelSocket.java:889)
org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:690)
java.lang.Thread.run(Thread.java:619)
 
Reply
Old Mar 16, 2008 | 10:52 AM
  #26  
jbrew's Avatar
Technical Article Contributor
Joined: Oct 2005
Posts: 25,641
Likes: 19
From: MI
Yea , I remember getting that one once as well - Well, the "Row 6 Column 4" part of that anyway.
 

Last edited by jbrew; Mar 16, 2008 at 11:56 AM.
Reply
Old Mar 17, 2008 | 03:51 PM
  #27  
IB ATEST's Avatar
F150online
Administrator
Joined: Jun 2007
Posts: 53
Likes: 0
Lightguy's report might be an indicator that the app needs to have session stickyness turned on at the load balancer. I have opened a ticket to get this done. The ticket probably won't get picked up today, but I set it to high priority so hopefully it will get done within the next few days.

This is a problem that arises sometimes when an application that was hosted on one server is switched to being hosted on more than one. Load balancers work by sending connections to different machines. If you start a session on machine A and the load balancer then decides to send you to machine B, and machine B doesn't know about your session, it will cause this problem. "Sticky" sessions instruct the load balancer to always send a visitor to the same machine.

Hopefully that will solve it. If not, I will continue to investigate.
 
Reply
Old Mar 20, 2008 | 12:04 PM
  #28  
Typow07's Avatar
Senior Member
Joined: Dec 2007
Posts: 179
Likes: 0
From: Slower Lower DE
So do i have to have a certin number of posts in order to make an album? I wouldnt think so but i figured i would ask because this is the error i am getting when i try to make an album

Error message: The variable "client.gallery_id" is not defined!
Error type: expression
File: /opt/tomcat6/webapps/ROOT/galleries/admin/albumdefine.cfm

Stack trace
[Error message: The variable "client.gallery_id" is not defined!]
com.youngculture.smith.engine.cfutil.SmithStruct.g etVar(Unknown Source)
__smithdynamic._var._www._html._f150online._htdocs ._galleries._admin._albumdefine.execute(_albumdefi ne.java:24)
com.youngculture.smith.engine.pages.CfPage.run(Unk nown Source)
com.youngculture.smith.engine.pages.PageUtil.runPa ge(Unknown Source)
com.youngculture.smith.engine.util.PageDispatcher. includePage(Unknown Source)
com.youngculture.smith.engine.util.PageDispatcher. includePage(Unknown Source)
com.youngculture.smith.engine.servlets.SmithServle t.serviceRequest(Unknown Source)
com.youngculture.smith.engine.servlets.SmithServle t.service(Unknown Source)
javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109)
org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:263)
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyo teHandler.java:190)
org.apache.jk.common.HandlerRequest.invoke(Handler Request.java:283)
org.apache.jk.common.ChannelSocket.invoke(ChannelS ocket.java:767)
org.apache.jk.common.ChannelSocket.processConnecti on(ChannelSocket.java:697)
org.apache.jk.common.ChannelSocket$SocketConnectio n.runIt(ChannelSocket.java:889)
org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:690)
java.lang.Thread.run(Thread.java:619)
 
Reply
Old Mar 20, 2008 | 02:37 PM
  #29  
IB ATEST's Avatar
F150online
Administrator
Joined: Jun 2007
Posts: 53
Likes: 0
Originally Posted by Typow07
So do i have to have a certin number of posts in order to make an album? I wouldnt think so but i figured i would ask because this is the error i am getting when i try to make an album

Error message: The variable "client.gallery_id" is not defined!
No, anyone can make a gallery

The load balancer setting I mentioned above hasn't been switched yet, I will see if we can get it expedited.
 
Reply
Old Mar 28, 2008 | 01:01 AM
  #30  
4RDFMLY's Avatar
Senior Member
Joined: Jan 2006
Posts: 253
Likes: 0
From: S.W. Virginia
Here's my problem



Error message: The variable "client.gallery_id" is not defined!
Error type: expression
File: /opt/tomcat6/webapps/ROOT/galleries/admin/photodefine.cfm
Row: 37
Column: 4

Program code
35 </script>
36
37 <CFQUERY DATASOURCE = "f150galleries" NAME = "qGetAlbum">
38 SELECT album_id, album_label
39 FROM album_t

Stack trace
[Error message: The variable "client.gallery_id" is not defined!]
com.youngculture.smith.engine.cfutil.SmithStruct.g etVar(Unknown Source)
__smithdynamic._var._www._html._f150online._htdocs ._galleries._admin._photodefine.execute(_photodefi ne.java:71)
com.youngculture.smith.engine.pages.CfPage.run(Unk nown Source)
com.youngculture.smith.engine.pages.PageUtil.runPa ge(Unknown Source)
com.youngculture.smith.engine.util.PageDispatcher. includePage(Unknown Source)
com.youngculture.smith.engine.util.PageDispatcher. includePage(Unknown Source)
com.youngculture.smith.engine.servlets.SmithServle t.serviceRequest(Unknown Source)
com.youngculture.smith.engine.servlets.SmithServle t.service(Unknown Source)
javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109)
org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:263)
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyo teHandler.java:190)
org.apache.jk.common.HandlerRequest.invoke(Handler Request.java:283)
org.apache.jk.common.ChannelSocket.invoke(ChannelS ocket.java:767)
org.apache.jk.common.ChannelSocket.processConnecti on(ChannelSocket.java:697)
org.apache.jk.common.ChannelSocket$SocketConnectio n.runIt(ChannelSocket.java:889)
org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:690)
java.lang.Thread.run(Thread.java:619)
 
Reply



All times are GMT -4. The time now is 12:47 PM.