Re: Clueless...Help please

2011-01-14 Thread javier0051
Hi AD7

I actually downloaded the whole site, without leaving behind the old
folders, I mean the folder and file layout is exactly the same. I'm
not getting paid to move the site but I usually try to be helpful to
customers and in this case it's a friend's site and I don't want to
leave him stuck with this.

I saw the tute but still I don't know what's controlling that sql
sentence, I'm not new to php but since I did not develop the app I
cannot figure out where exactly is that $conditions var or array
defined, also some app's urls/buttons call some /c/ folder, defined on
the routes.php file. That folder was unexistant in the old site so I
don't understand what that /c/whatever/article-name  stands for

I'll keep on reading this is driving me insane man!

Thanks for replying!

On 13 ene, 11:41, AD7six  wrote:
> On Jan 12, 6:03 pm, javier0051  wrote:
>
> > Thank you all for answering. I really appreciate it.
>
> > My main business is hosting but I also do PHP coding but never did
> > anything with cake.
>
> > As I saw the error, as Ryan stated, it's obvious that there's
> > something wrong with that sql query. The weird thing is that the site
> > worked well on other box with same PHP version, same OS, same MySql
> > version and same folder layout, and I'm still lost on which files make
> > changes or look for the issue to correct it...
>
> The ones mentioned in the error message (and in replies to this
> thread).
>
>
>
> > any suggestions on this? I'll read the tute
>
> By now I assume you've done this - it will have been the most valuable
> 15 minutes of your cake experience :)
>
> > but it'd be great if you
> > guys can hand me a clue on what file(s) to change...
>
> The error is in the application - look at the stack trace. You are not
> looking at a setup problem or afaics anything related to changing
> servers - it's an error in the way  wrote the menus
> controller.
>
> From what you've said I would say it's not your responsibility to fix
> it - unless they're paying you to do so. Changing from one functional
> server to another functional server doesn't magically introduce bugs
> of this kind. The fact that it worked before and doesn't act the same
> now means nothing  in and of itself IMO - how do you know the bit of
> code generating the error was even executed on the old server - e.g.
> the old install might be relying on the existence of a cache file
> which you've (rightly) deleted when moving servers.
>
> hth,
>
> AD

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Clueless...Help please

2011-01-12 Thread javier0051
Thank you all for answering. I really appreciate it.

My main business is hosting but I also do PHP coding but never did
anything with cake.

As I saw the error, as Ryan stated, it's obvious that there's
something wrong with that sql query. The weird thing is that the site
worked well on other box with same PHP version, same OS, same MySql
version and same folder layout, and I'm still lost on which files make
changes or look for the issue to correct it...


any suggestions on this? I'll read the tute but it'd be great if you
guys can hand me a clue on what file(s) to change...

Thanks so much!!

On 11 ene, 14:19, Brian Mckphee  wrote:
> I agree with the last few posters.  You may need to tell your client
> to look at their code.  Are you merely a hosting provider or are you a
> coder?
>
> On Jan 10, 8:13 am, javier0051  wrote:
>
> > Hi
>
> > I am a completely newbie to cake php. A new customer has a site
> > developed with cake php and we recently moved the site to one of our
> > boxes but we haven't been able to show all the page's content. No
> > errors, the news & articles and other stuff are actually in the
> > database BUT no contents are displayed. (site's main page:www.acepweb.org.ar
> > Undisplayed contents example url (http://www.acepweb.org.ar/c/noticias/
> > ultimas-noticias)
>
> > The problem comes when trying to access one of the interior sections.
> > The contents are in the database, the routing.php file has this line
> > "(Router::connect('/c/:categoria/:subcategoria', array('controller' =>
> > 'categories', 'action' => 'view', 'categoria' => null, 'subcategoria'
> > => null));)" directing to some /c/ folder or whatever it is but it is
> > not physically present.
>
> > The connection to the db is established propperly but at this point I
> > am totally clueless on how to get that example page to display the
> > contents it used to display when hosted on the other box, with same
> > cPanel, same linux operating system.
>
> > Thank you .Help will be totally appreciated

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Clueless...Help please

2011-01-11 Thread javier0051
iors/
bindable.php, line 258
  BindableBehavior::afterFind() - APP/models/behaviors/
bindable.php, line 317
  ModelBehavior::dispatchMethod() - CORE/cake/libs/model/
behavior.php, line 162
  BehaviorCollection::trigger() - CORE/cake/libs/model/
behavior.php, line 456
  Model::__filterResults() - CORE/cake/libs/model/model.php, line
2230
  Model::find() - CORE/cake/libs/model/model.php, line 1993
  MenusController::findButtons() - APP/controllers/
menus_controller.php, line 201
  Object::dispatchMethod() - CORE/cake/libs/object.php, line 118
  Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
  Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194

  Query: __resetAssociations

  Query: __resetAssociations




On 11 ene, 00:06, "Dr. Tarique Sani"  wrote:
> Can't seem to reach the URL you have mentioned but have you tried
> setting the Debug on?
>
> Probably you are not seeing any errors because Debug is set to 0
>
> HTH
> Tarique
>
> On Mon, Jan 10, 2011 at 7:43 PM, javier0051  wrote:
> > Hi
>
> > I am a completely newbie to cake php. A new customer has a site
> > developed with cake php and we recently moved the site to one of our
> > boxes but we haven't been able to show all the page's content. No
> > errors, the news & articles and other stuff are actually in the
> > database BUT no contents are displayed. (site's main page:www.acepweb.org.ar
> > Undisplayed contents example url (http://www.acepweb.org.ar/c/noticias/
> > ultimas-noticias)
>
> > The problem comes when trying to access one of the interior sections.
> > The contents are in the database, the routing.php file has this line
> > "(Router::connect('/c/:categoria/:subcategoria', array('controller' =>
> > 'categories', 'action' => 'view', 'categoria' => null, 'subcategoria'
> > => null));)" directing to some /c/ folder or whatever it is but it is
> > not physically present.
>
> > The connection to the db is established propperly but at this point I
> > am totally clueless on how to get that example page to display the
> > contents it used to display when hosted on the other box, with same
> > cPanel, same linux operating system.
>
> > Thank you .Help will be totally appreciated
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others 
> > with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google Groups 
> > "CakePHP" group.
> > To post to this group, send email to cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscr...@googlegroups.com For more options, visit this group 
> > athttp://groups.google.com/group/cake-php?hl=en
>
> --
> =
> Cheesecake-Photoblog:http://cheesecake-photoblog.org
> PHP for E-Biz:http://sanisoft.com
> =

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Clueless...Help please

2011-01-11 Thread javier0051
Thanks for replying Tarique.

Actually I don't get any errors, the app just doesn't seem to find the
contents that were actually visible on the site mounted on the old
server. The contents are actually stored in the db... The URL is
http://www.acepweb.org.ar  The main page is totally visible but when I
click a button to get to the secondary sections, eg. news, I get not
an error message but a message indicating that no  articles were found
on the category... I'm still totally clueless about this

On 11 ene, 00:06, "Dr. Tarique Sani"  wrote:
> Can't seem to reach the URL you have mentioned but have you tried
> setting the Debug on?
>
> Probably you are not seeing any errors because Debug is set to 0
>
> HTH
> Tarique
>
> On Mon, Jan 10, 2011 at 7:43 PM, javier0051  wrote:
> > Hi
>
> > I am a completely newbie to cake php. A new customer has a site
> > developed with cake php and we recently moved the site to one of our
> > boxes but we haven't been able to show all the page's content. No
> > errors, the news & articles and other stuff are actually in the
> > database BUT no contents are displayed. (site's main page:www.acepweb.org.ar
> > Undisplayed contents example url (http://www.acepweb.org.ar/c/noticias/
> > ultimas-noticias)
>
> > The problem comes when trying to access one of the interior sections.
> > The contents are in the database, the routing.php file has this line
> > "(Router::connect('/c/:categoria/:subcategoria', array('controller' =>
> > 'categories', 'action' => 'view', 'categoria' => null, 'subcategoria'
> > => null));)" directing to some /c/ folder or whatever it is but it is
> > not physically present.
>
> > The connection to the db is established propperly but at this point I
> > am totally clueless on how to get that example page to display the
> > contents it used to display when hosted on the other box, with same
> > cPanel, same linux operating system.
>
> > Thank you .Help will be totally appreciated
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others 
> > with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google Groups 
> > "CakePHP" group.
> > To post to this group, send email to cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscr...@googlegroups.com For more options, visit this group 
> > athttp://groups.google.com/group/cake-php?hl=en
>
> --
> =
> Cheesecake-Photoblog:http://cheesecake-photoblog.org
> PHP for E-Biz:http://sanisoft.com
> =

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Clueless...Help please

2011-01-10 Thread javier0051
Hi

I am a completely newbie to cake php. A new customer has a site
developed with cake php and we recently moved the site to one of our
boxes but we haven't been able to show all the page's content. No
errors, the news & articles and other stuff are actually in the
database BUT no contents are displayed. (site's main page: www.acepweb.org.ar
Undisplayed contents example url (http://www.acepweb.org.ar/c/noticias/
ultimas-noticias)

The problem comes when trying to access one of the interior sections.
The contents are in the database, the routing.php file has this line
"(Router::connect('/c/:categoria/:subcategoria', array('controller' =>
'categories', 'action' => 'view', 'categoria' => null, 'subcategoria'
=> null));)" directing to some /c/ folder or whatever it is but it is
not physically present.

The connection to the db is established propperly but at this point I
am totally clueless on how to get that example page to display the
contents it used to display when hosted on the other box, with same
cPanel, same linux operating system.

Thank you .Help will be totally appreciated

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en