Glitch with taxonomies

102 views
Skip to first unread message

caitr...@gmail.com

unread,
Feb 17, 2015, 2:17:54 PM2/17/15
to ica-ato...@googlegroups.com
Hello,

Some of my taxonomies I can access and others I get a "page not found" error.  What do you think would be the cause of this?  I am a full administrator with no limits or restrictions.

Elizabeth 

Sarah Romkey

unread,
Feb 17, 2015, 6:00:13 PM2/17/15
to ica-ato...@googlegroups.com
Hello Elizabeth,

What version of AtoM are you using? From where are you navigating to the taxonomy page- via the Manage -> Taxonomies list?

Cheers,

Sarah

Sarah Romkey, MAS,MLIS
Systems Archivist
Artefactual Systems
604-527-2056
@ArchivesSarah



--
You received this message because you are subscribed to the Google Groups "ICA-AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To post to this group, send email to ica-ato...@googlegroups.com.
Visit this group at http://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/41ba365d-42e3-4c52-9393-32faa34fba1c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Elizabeth McManus

unread,
Feb 18, 2015, 11:23:08 AM2/18/15
to ica-ato...@googlegroups.com

We are using 2.1.

I navigated from the manage menu - taxonomies - then selected a taxonomy list (ex. Rights basis) and got the error.

Thanks
Elizabeth

You received this message because you are subscribed to a topic in the Google Groups "ICA-AtoM Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ica-atom-users/twG4QI2cRQw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ica-atom-user...@googlegroups.com.

To post to this group, send email to ica-ato...@googlegroups.com.
Visit this group at http://groups.google.com/group/ica-atom-users.

Mike G

unread,
Feb 18, 2015, 5:16:41 PM2/18/15
to ica-ato...@googlegroups.com, caitr...@gmail.com
Hi Elizabeth,

Do you have access to the command line? If so, go to the AtoM folder and try the following commands:

php symfony propel:generate-slugs
php symfony search:populate

After that, try and see if you still have the issue.

Moe G

unread,
Feb 19, 2015, 3:40:49 PM2/19/15
to ica-ato...@googlegroups.com, caitr...@gmail.com
No luck after running both commands. Any other tips?

Cheers,
Moe

Sarah Romkey

unread,
Feb 19, 2015, 6:00:45 PM2/19/15
to ica-ato...@googlegroups.com, Elizabeth McManus
This is a bit of a "catch-all" solution, but clearing the cache might help:

https://www.accesstomemory.org/en/docs/2.1/admin-manual/maintenance/clear-cache/#maintenance-clear-cache

If you haven't already, do you want to try that and let us know how it goes?

Cheers,

Sarah

Sarah Romkey, MAS,MLIS
Systems Archivist
Artefactual Systems
604-527-2056
@ArchivesSarah



David Juhasz

unread,
Feb 19, 2015, 6:23:27 PM2/19/15
to ica-ato...@googlegroups.com
Hi Elizabeth,

You should be able to more information about the error by putting AtoM in debug mode.  You can send any debugging output to info at artefactual dot com to avoid posting any sensitive information to this public forum.

Regards,
David

--

David Juhasz
Director, AtoM Technical Services Artefactual Systems Inc. www.artefactual.com

David Juhasz

unread,
Feb 19, 2015, 6:29:47 PM2/19/15
to ica-ato...@googlegroups.com
Also, a link or screenshot of the error page may be helpful.

I just checked the code, and the propel:generate-slugs command line task does not fix slugs for taxonomy links unfortunately.  So it's possible the URL is broken due to an problem with the permalinks in the database.

Have you recently upgraded AtoM or run any raw MySQL queries on the AtoM database?  Have you recently attempted to import data into your AtoM instance and received an error message?  Any unusual happenings before the problem appeared may help us identify the cause.

Regards,
David

--

David Juhasz
Director, AtoM Technical Services Artefactual Systems Inc. www.artefactual.com

Moe G

unread,
Feb 23, 2015, 8:46:51 PM2/23/15
to ica-ato...@googlegroups.com
Hi David,
Below is the actual error message followed by the error thrown via debug mode.

Cheers,
Moe


Sorry, page not found

Did you type the URL correctly?
Did you follow a broken link?











404 | Not Found | sfError404Exception

This request has been forwarded to a 404 error page by the action "taxonomy/index".

stack trace

  • at ()
    in SF_ROOT_DIR/vendor/symfony/lib/action/sfAction.class.php line 74 ...
      1.    */
      2.   public function forward404($message null)
      3.   {
      4.     throw new sfError404Exception($this->get404Message($message));
      5.   }

      6.   /**

José Raddaoui

unread,
Feb 24, 2015, 1:45:04 PM2/24/15
to ica-ato...@googlegroups.com
Hi Moe,

it may be a problem with the taxonomies parent id. Could you try placing the attached script in the AtoM folder and running:

php symfony tools:run ./fix_taxonomies_parentId.php

Regards.
fix_taxonomies_parentId.php

Moe G

unread,
Feb 24, 2015, 6:30:39 PM2/24/15
to ica-ato...@googlegroups.com
That worked!! Many thanks José.


Ryan Alons

unread,
May 1, 2015, 3:45:18 PM5/1/15
to ica-ato...@googlegroups.com
I've been getting this same error but instead of "taxonomy/index" is says "informationobject/browse"

If I run the php command above will I get a fix? 

By the way here is how I get to the error: 

Thank you so much!

Ryan

Dan Gillean

unread,
May 1, 2015, 5:07:46 PM5/1/15
to ica-ato...@googlegroups.com
Hi Ryan,

At first glance, this looks to be something different than taxonomy issue for which Radda posted a script. It might be caused by missing slugs, or possibly a problem with the nested set. Try the following:

Generate slugs:

Rebuild the nested set:

Clear the cache and repopulate the search index:


Let us know if that helps!

Dan Gillean
, MAS, MLIS

AtoM Product Manager / Systems Analyst,
Artefactual Systems, Inc.
604-527-2056
@accesstomemory



Ryan Alons

unread,
May 1, 2015, 5:18:17 PM5/1/15
to ica-ato...@googlegroups.com
Dang! I get the error "Unable to open PDO connection [wrapped: SQLSTATE[HY000] [2002] No such file or directory]" for both of these commands.

I'm sorry that I'm not more knowledgable of symfony - I'm not quite sure what this error means. I really appreciate your help.

Ryan

Dan Gillean

unread,
May 1, 2015, 5:26:12 PM5/1/15
to ica-ato...@googlegroups.com
Hi Ryan,

Hmmm, I'm going to have to consult with our dev team for some suggestions, and most of them are off for the day. To help, can you remind me again of your:
  • Installation environment (e.g. Linux - if so, which flavor? or something else, virtualized?)
  • Whether you are hosting yourself or using an external provider
  • The version of PHP you have running
  • The version of AtoM you are working with

Thanks! Hopefully we can smooth out the wrinkles for you soon.


Dan Gillean, MAS, MLIS
AtoM Product Manager / Systems Analyst,
Artefactual Systems, Inc.
604-527-2056
@accesstomemory

Ryan Alons

unread,
May 1, 2015, 5:40:52 PM5/1/15
to ica-ato...@googlegroups.com
Here ya are. Lmk if you need anything from me. I'll keep trying to find a solution in the mean time.

Installation:
3.1.9-vs2.3.2.5vs2.3.2.5+ GNU/Linux
Distributor ID: Ubuntu
Release: 12.04
Codename: precise

We're hosting on Dreamhost.

PHP Version => 5.4.37

Atom 2.1.2

Thx,

Ryan

raddao...@gmail.com

unread,
May 4, 2015, 1:59:57 PM5/4/15
to ica-ato...@googlegroups.com

Ryan Alons

unread,
May 4, 2015, 2:13:43 PM5/4/15
to ica-ato...@googlegroups.com
Hi José 

My professor helped me figured out some of the mySQL socket issues. 

Now I'm in the process of troubleshooting and enabling APC in the php.ini. I've been able to accomplish everything except for repopulate the search index. Unfortunately issue remains - I'm confident it might work out after a couple days.

Ryan

Reply all
Reply to author
Forward
0 new messages