Support

Home Forums Custom Files Add-on (EE3) Custom Files not working

Custom Files not working

Posted: August 30, 2013 at 5:03 am


Wassim Zeidan

August 30, 2013 at 5:03 am

Hi, I uploaded the needed files to /wp-content/uploads/espresso/

I downloaded the event_espresso-en_US.po along with event_espresso-en_US.mo, made the necessary changes and uploaded it to /wp-content/uploads/espresso/languages/ but nothing happened, I had to move those files to /wp-content/plugins/event-espresso/languages/ for it to work.

I tried the same for the ticketing design, by following the instructions on this page https://eventespresso.com/wiki/how-to-create-a-custom-ticket/ and I had the same problem, so I ended up duplicating and renaming the /wp-content/plugins/espresso-ticketing/templates/index.php for my changes to work


Dean

August 30, 2013 at 5:19 am

Hi,

in uploads/espresso/languages, is there an index.php file? If not please add one, it should be be a blank file. Also did you make sure to change the wp-config.php file to include the language, in this case define(‘WPLANG’, ‘en_US’);

The ticketing documentation you linked to is precise, it definitely does work, I was using it yesterday.

Can you provide a list of files and the directory structure for each please? That way I can see if there is something not quite right.


Wassim Zeidan

August 30, 2013 at 11:56 am

Yes there is an empty index.php file in uploads/espresso/languages

No I did not make changes because it worked when I placed the files in /wp-content/plugins/event-espresso/languages/

regarding the directory structure, did you mean about the ticketing? or the custom files directoy.

I also have a problem with the template, as I mentioned before I duplicated and renamed the template file index.php and made the modifications in the new one, created a new template in from my Event Espresso back end and chose the new file instead of the index.php, but every time I press the save button, it goes back to the default template, even if I change it from the SQL interface, as soon as I press save in Event Espresso area, it goes back to the default template.


Josh

  • Support Staff

August 30, 2013 at 4:11 pm

Hi Wassim,

Is this website installed on a single site installation of WordPress or is it part of a multisite network?


Wassim Zeidan

August 31, 2013 at 3:48 am

@josh it is installed on a single site on my own dedicated server


Sidney Harrell

September 2, 2013 at 12:07 pm

Did you delete the mo and po files from uploads/espresso/languages? I’m asking because I can see that the index.php is in there, but I get 404 messages when looking for the mo and po files.


Wassim Zeidan

September 2, 2013 at 4:28 pm

yes @sidney, but I have just re-uploaded them


Josh

  • Support Staff

September 3, 2013 at 1:50 pm

Please be sure that the file permissions set for /wp-content/uploads/espresso/ are compatible with your server’s configuration.

In most cases the folders should be set to 755, files 644, but some servers will need 775 for folders and 664 for files.

http://codex.wordpress.org/Changing_File_Permissions#Permission_Scheme_for_WordPress

The support post ‘Custom Files not working’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso