-
AuthorPosts
-
March 22, 2018 at 2:12 pm #931297
Hello,
I am trying to show excerpt and read more link on magazine list items. I found a couple of threads about it but following them did not work.
What can i do to achieve this?
March 23, 2018 at 10:46 pm #932129Hey jorgepavajeau,
Can you please point us which of the posts you followed?
So we can try identify the issue from our side also please?Thank you
Best regards,
BasilisMarch 26, 2018 at 1:41 pm #932994March 27, 2018 at 5:58 am #933384Hi,
Thank you for the info.
Please look for this code around line 690.
if(empty($this->atts['thumbnails'])) { $image = ""; $extraClass = "av-magazine-no-thumb"; }
Below, add the excerpt.
$excerpt = !empty($entry->post_excerpt) ? $entry->post_excerpt : avia_backend_truncate($entry->post_content, apply_filters( 'avf_magazine_excerpt_length' , 60) , apply_filters( 'avf_magazine_excerpt_delimiter' , " "), "…", true, '');
Best regards,
IsmaelMarch 27, 2018 at 3:48 pm #933708The excerpts now show, but I am getting the following error messages on top of the page:
Warning: session_start() [function.session-start]: Cannot send session cookie – headers already sent by (output started at /home/content/55/9769155/html/frenchrecruiters/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/magazine.php:1) in /home/content/55/9769155/html/frenchrecruiters/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php on line 42
Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/content/55/9769155/html/frenchrecruiters/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/magazine.php:1) in /home/content/55/9769155/html/frenchrecruiters/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php on line 42
March 28, 2018 at 7:13 am #934030Hi jorgepavajeau,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
VictoriaMarch 28, 2018 at 2:03 pm #934289Credentials below
March 28, 2018 at 9:38 pm #934522Hi,
You most probably have a space on the top of the bottom of the tile.
Could you please remove those?Best regards,
BasilisMarch 29, 2018 at 3:24 pm #934863I’m sorry, I don’t understand what that means. Can you be more specific?
- This reply was modified 6 years, 9 months ago by jorgepavajeau.
March 30, 2018 at 6:17 am #935114Hi,
Can you give us ftp access? so we can check further.
Best regards,
NikkoMarch 30, 2018 at 4:24 pm #935352ftp access below
- This reply was modified 6 years, 8 months ago by jorgepavajeau.
April 2, 2018 at 1:58 am #935846Hey Jorgepavajeau,
If you recently updated enfold theme to 4.2.6 and get an error here is what you should do to resolve this issue:
1. Deactivate all plugins (If you have access to backend) else access the /wp-content/ folder and rename the plugins folder to plugins.old.
2. Update the PHP version being used by your hosting server to PHP 7 by getting in touch with your hosting company.
Access your site with FTP or log in to your control panel and access the site via File Manager and perform the below steps:
3. Replace the header.php file in wp-content/themes/enfold folder with an updated version of the header.php file.
4. Access your WordPress site root folder and rename the current .htaccess file to .htaccess.bak. Login to WordPress admin area go to settings > permalinks > select “Post name” and save changes.
5. Define a higher memory limit in WordPress and if possible increasing the memory on the hosting server.
To increase the WordPress memory limit please access wp-config.php file and add the below line
define('WP_MEMORY_LIMIT', '256M');
For a detailed explanation please check this link http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP
and you can contact your service provider to increase the memory limit.If none of the above works for you please go ahead and delete the “enfold” folder in wp-content/themes/ and upload a fresh copy of the “enfold” theme files.
Best regards,
VinayApril 3, 2018 at 3:55 pm #936626I updated the header.php to the latest version and now when I try to login to the backend I get the following error:
Warning: Cannot modify header information – headers already sent by (output started at /home/content/55/9769155/html/frenchrecruiters/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/magazine.php:1) in /home/content/55/9769155/html/frenchrecruiters/wp-includes/pluggable.php on line 1216
April 3, 2018 at 11:35 pm #936858Hi,
Can you please make sure there is no space at the end or the top of the file?
Thank you
Best regards,
BasilisApril 4, 2018 at 6:31 am #936947What file? The header.php??
April 5, 2018 at 11:13 am #937606Hi,
I can’t see the error anywhere in the site. Did you modify the magazine.php file?
Best regards,
IsmaelApril 5, 2018 at 5:06 pm #937816Screenshots are attached with the very clear error messages.
http://whitemoongraphics.com/images/kriesiSS.jpg
http://whitemoongraphics.com/images/kriesiSS002.jpgApril 7, 2018 at 5:34 am #938478Hi,
Thank you for the update. I was able to access the file server via FTP but I can’t find the directory of the “frenchrecruiters” site. Please check the FTP login details.
Best regards,
IsmaelApril 7, 2018 at 5:51 am #938483That is the only directory that I gave you access to. The root folder is frenchrecruiters.
April 9, 2018 at 3:20 pm #939258Hi,
I’m sorry for the confusion. Please upgrade the theme from version 4.2.3 to version 4.2.6. That should help with the issue. If you can still see the notification after the update, look for the “tmp” folder in the root directory and remove everything inside. Create a backup or a restore point before doing so.
Best regards,
IsmaelApril 9, 2018 at 4:34 pm #939302I updated to the latest version of enfold and now the website is completely down!
CAN SOMEONE HELP WITH WHAT SHOULD HAVE BEEN A SIMPLE ISSUE?????
all i get is this error message now:
Fatal error: Cannot redeclare av_countdown_events_fallback() (previously declared in /home/content/55/9769155/html/frenchrecruiters/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/events_countdown.php:14) in /home/content/55/9769155/html/frenchrecruiters/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/events_countdown/events_countdown.php on line 12
April 10, 2018 at 7:53 am #939662Hi,
Your site is fixed now, we are very sorry for the inconvenience. I have removed the duplicate file (events_countdown.php) from avia-shortcodes folder.
Best regards,
NikkoApril 10, 2018 at 2:32 pm #939880ok, the site is bank online, but I still have the original issue. I need to show an excerpt on the magazine item….
April 12, 2018 at 2:30 am #940734Hi,
We modified the magazine.php file. You can check the page now.
Best regards,
IsmaelApril 12, 2018 at 9:15 pm #941135Thanks. That worked.
April 14, 2018 at 11:44 am #941879Hi marketingagency,
Glad we could help :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.