PurplePix
Forum Replies Created
-
Cais, I am working on my computer off line with InstantWP making a tool for other club members. I did see that there is a limit for filename paths (just over 200). I tried different work arounds with out success. It wasn’t till I shortened the path name that I was able to copy and past the file(s). Once the files had loaded to the correct locations, it only required that I go back and rename the files I had shortened so that:
\wp-content\plugins\nextgen-gallery\products\p\modules\n\templates\upload_images.php
now became:
\wp-content\plugins\nextgengallery\products\photocrati_nextgen\modules\nextgen_addgallery_page\templates\upload_images.phpFrom the examples I used earlier, meaning it is a software limit issue that causes the problem. You are possibly using Linux and I don’t think it has the limit issue. Just trying to offer a simple solution to a complex problem.
I experienced the same problem and the issue was the name path exceeded the number of characters allowed. I looked at reducing the number of characters for the upload/paste then went back and renamed the shortened folder names so the program worked as expected, this solved my issue.
Here is an example of your text paths. Photocrati in the interest of documenting their program adds folders like ‘photocrati_nextgen’ that is part of the path but only contains the name of the next folder, yet helps to cause the problem with long paths.
RuntimeException thrown
(full server name and path…) \wp-content\plugins\nextgen-gallery\products\photocrati_nextgen\modules\nextgen_addgallery_page\templates\upload_images.php is not a valid MVC template
123 Words
\wp-content\plugins\nextgen-gallery\products\photocrati_nextgen\modules\nextgen_addgallery_page\templates\upload_images.php
106 words temporally remove ‘hotocrati_nextgen’
\wp-content\plugins\nextgen-gallery\products\p\modules\nextgen_addgallery_page\templates\upload_images.php84 words temporally remove ‘extgen_addgallery_page’
\wp-content\plugins\nextgen-gallery\products\p\modules\n\templates\upload_images.phpForum: Themes and Templates
In reply to: [Twenty Sixteen] Page atributes missing template choiceTakashi Irie,
If I understand correctly, the default template has a header, body content, sidebar and footer.Within the confines of theme design is it possible to have a page(s) that has all the elements and other page(s) that excludes the sidebar and/or footer?
I am a user not a programmer, so work mostly within the structure provided. Using Twenty Fourteen and a child theme I have been able to make some modest changes to a three column theme to meet our needs. My first look at Twenty Sixteen was to see if we could remain current with our theme and core software.
Without optional template(s) does that not restrict ones ability to fully take advantage of your design while meeting their custom needs?
Thank you for listening to my thoughts and questions. All the best and I am sure many will find Twenty Sixteen perfect for their needs.
Forum: Alpha/Beta/RC
In reply to: Twenty Sixteen with bleeding edgeJames thank you.
@cais For me this issue is resolved once I entered the missing slug data in the database, there has been no other contact so closing this.
I have been bugged for a long time by some of the things I saw or didn’t see. In this case the missing slug in the database for the album that was not working.
I first backed up all the site in sections, starting with the data bases and then the home folder with the cPanel wizard. I went to the WordPress dashboard and the pages for the broken and working albums to record the gallery name, album number and slug.
The next step was to go to cPanel and phpMyAdmin and open the album in the database. Going to the blank slug box I double clicked it and entered the slug. I pressed enter on my keyboard and got a message letting me know that one line had been affected.
Next it was back to the web main gallery page and navigated to the problem link. First I forced a page refresh then clicked the link which now worked perfectly as the slug was the information missing from the link. I also used Web DEV tools and modified the link to confirm that is would still be broken if that information was missing.
The question that remains, is what prevents slug information from being current in the database. Files and pages are updated but the slug if changed or removed it affects the display of the page. I believe the slug might have been lost in the hack, with information stored in Transients and not being a programmer, I have and continue to struggle with getting basic information. The issue with non programmers is experienced programmers assume everyone understands, so it is very difficult to find any real basic information with good non tech descriptions and examples. On the other side non programmers will and I have searched to find solutions by checking the right boxes, modifying templates and adding custom CSS in the update safe places provided while not modifying the core code.
I see this issues as closed unless you can tell me why the slug is not updated, and your access to the back-end have been removed.
@photocrati – Resubmittted bug report.
@photocrati, I am confused. There has been no diologue or visible activity from the bug report. It was suggested locally, that this being a free version and possibly a one of there would possibly not be any action.
With that in mind I have continued to search and learn how to use tools, looking for a solution. I understood that the bug report was to provide information about what was happening, how the problem could be reliabily reproduced so they could explore and provide feed back or a solution. That is what was done while identifying this thread, I have more questions but no where to ask them, six months ago I had not seen PHP or tried to look at Javascript. Most of the time while others were trying to write code I spent understanding what box to check in the Dashboard interface to get the results I wanted. There are no boxes to check for this problem, that is why I came here for help and guidance. Each day I come to another wall like today how to decipher ‘galleries.gallery_d9d14dd7a4806505b308f83faf08d3e9’ which looks like HexDecimal so I can move to the next wall, each solution takes me days. What should I be doing?Still looking for a solution. When I open a gallery from either a working or non working album, I get the following error code ( dotdotdot: No element found for “.ngg-album-desc”.)
Using Web Matrix to search for .ngg-album-desc I get the following results:~\wp-content\plugins\nextgen-gallery\products\photocrati_nextgen\modules\nextgen_basic_album\static\nextgen_basic_album.css (109): .ngg-album-compact h4 .ngg-album-desc { ~\wp-content\plugins\nextgen-gallery\products\photocrati_nextgen\modules\nextgen_basic_album\static\init.js (2): $('.ngg-album-desc').dotdotdot();I am not sure if this is correctly coded on line 109 in the css or if this could affect the problem with the link.
I know the problem is in the building of the link because calling the right link directly or using Internet Explorer DOM F12 and making a change to the link in html, then selecting the gallery on the page will take you to the working result, where the gallery and images are correctly displayed. I am currently trying to understand JS so I can see were and how the link is being built. That is the reason for asking if the CSS on line 109 is correct, as I have not seen that format used before.
@photocrati – Bug report sent
@photocrati – just backing up the site, as soon as that is complete will submit a bug report.
When a gallery is added to an album (Manage albums) and saved, then the page called that points to the album is opened. Where does the link to the galleries in the album start getting constructed. I would like to explore my off line site to better understand how that information is assembled.
Once the site is backed up and a bug report submitted, I will not be making changes to the on line site so your troubleshooting will not be looking for a moving target.@photocrati – I went to WP Pages on the page pointing to the album with the short link. I removed the short link and replaced it with the green box. Settings Display Type NG basic Compact Album, Display Galleries- NG Basic thumbnails, Template- NG Album – compact.php. It displayed the image of the last gallery on the page, I updated the page. Checking the test gallery (Album 1) that is the issue I am trying to solve, there was no difference. The gallery that is set up using ‘not linked’ as a page link in manage galleries (the normal process) produces the error message ‘no images were found’. While the other gallery using the work around of a page with the gallery short code displays as expected. Using the two links in the code section of my request will show what happens and looking at the status bar (lower part of screen) will show that the gallery name is missing from the hyper link. The second link is using ‘not linked’ in the image galleries (the normal process).
Going to settings / permalinks it was set to default. I switched it to ‘Post Name’ and this made no change as I again got the error ‘no images were found’. I switched back to default and this made no difference. I did a check with WebMatrix on my computer test site for the words ‘no images were found’ and found the file `~\wp-content\plugins\nextgen-gallery\products\photocrati_nextgen\modules\nextgen_gallery_display\templates\no_images_found.php (1): <p>no images were found</p>
` while checking cPanel a search did not find that file, a physical search shows the file. With no other references I don’t know how to step backwards to see where the problem happens, or a place in the code where I can step forward to track the link being built.A word on the green box, I understand it is a recent feature, I think there is opportunities to make it better like ALT text if the link image is removed.
@gregy1403, going back to Casi’s first reply, and from personal experience, if you have 3 digit file names then renaming your files so that 1 is 001, 10 is 010, and 100 is 100, and 99 is 099, then they will sort 001, 010, 099, 100. Give it a try, I know initially it will take some time but it works.
Forum: Fixing WordPress
In reply to: Gallery name missing from NGG linkThis is my first post, do I move this or repost to the link you provided? Can you delete this post if it is not in the right place?