Author Topic: Can't add or edit albums  (Read 5891 times)

MATTYD

  • Newbie
  • *
  • Posts: 3
    • View Profile
Can't add or edit albums
« on: 12 January 2009, 14:53 »
I seem to have the same problem as some of the other people on this site - don't seem to be able to find a solution.

I've run the sef advanced tester and it didn't indicate any errors

I've installed the Ajax photo album

and set the permissions for the folders to 755

Problem is I can't add, edit or delete albums as there are no buttons.

I'm running Joomla 1.5 (in legacy mode)

Any help would be appreciated.
Thanks

Matt

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,495
    • View Profile
    • Sakic.Net
Re: Can't add or edit albums
« Reply #1 on: 12 January 2009, 15:32 »
You probably have a javascript error. It might be because of this: http://www.sakic.net/support/faq/ajax_photo_album/#2

Point your browser to http://www.yoursite.com/administrator/components/com_apa/admin.scriptload.php

If you get an error then it's that problem. This file must have execution rights.
« Last Edit: 02 March 2009, 21:20 by Saka »

MATTYD

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Can't add or edit albums
« Reply #2 on: 12 January 2009, 19:00 »
i've done a reinstall changed the permissions and still no ability to add the albums.

I've treid adding the mosapa module and getthis error


        * It was not possible to copy the selected file.
        * JInstaller::install: Failed to copy file: /home/freeatla/public_html/matabwa/tmp/install_496b76627eb15/mosapa.php to /home/freeatla/public_html/matabwa/plugins/content/mosapa.php

any other ideas?
THanks again

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,495
    • View Profile
    • Sakic.Net
Re: Can't add or edit albums
« Reply #3 on: 12 January 2009, 19:47 »
You haven't answered if you are able to access http://www.yoursite.com/administrator/components/com_apa/admin.scriptload.php

If you can't get it to work send the admin password and FTP info om mail and I will take a look.
« Last Edit: 02 March 2009, 21:20 by Saka »

MATTYD

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Can't add or edit albums
« Reply #4 on: 13 January 2009, 00:49 »
 when i got to
components/com_apa/scriptload.php
i get a 'bad request'

does that help.

Thanks

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,495
    • View Profile
    • Sakic.Net
Re: Can't add or edit albums
« Reply #5 on: 13 January 2009, 01:41 »
Yes. This file should be able to execute. So CHMOD it to 777 according to instructions found in: http://www.sakic.net/support/faq/ajax_photo_album/#2

If you can't figure it out send the admin pass and FTP info on mail.

wirecreative

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Can't add or edit albums
« Reply #6 on: 02 March 2009, 20:42 »
You probably have a javascript error. It might be because of this: http://www.sakic.net/support/faq/ajax_photo_album/#2

Point your browser to http://www.yoursite.com/administrator/components/com_apa/scriptload.php

If you get an error then it's that problem. This file must have execution rights.


I'm having the same problems, on site running Joomla 1.0.12.

The above solution doesn't work because there is no such file as http://www.yoursite.com/administrator/components/com_apa/scriptload.php.

There is http://www.yoursite.com/administrator/components/com_apa/admin.scriptload.php.

Could this be part of the problem? I copied the admin.scriptload.php file and renamed the copy scriptload.php and gave it 777 permissions, but there's still no option to create albums in the component admin.

Seems like a lot of people are having this problem. ???

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,495
    • View Profile
    • Sakic.Net
Re: Can't add or edit albums
« Reply #7 on: 02 March 2009, 21:19 »
Right, it should be admin.scriptload.php

Make sure it's executable:
http://www.yoursite.com/administrator/components/com_apa/admin.scriptload.php

It should display like this:
http://joomla.sakic.net/administrator/components/com_apa/admin.scriptload.php

If it displays anything else you have a server problem.

wirecreative

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Can't add or edit albums
« Reply #8 on: 02 March 2009, 22:23 »
Right, it should be admin.scriptload.php

Make sure it's executable:
http://www.yoursite.com/administrator/components/com_apa/admin.scriptload.php

It should display like this:
http://joomla.sakic.net/administrator/components/com_apa/admin.scriptload.php

If it displays anything else you have a server problem.


Thanks, I checked the server error logs. turns out permissions were too loose on the admin/components directory. When I fixed that, it worked.

Is it odd that loose permissions would create an error?

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,495
    • View Profile
    • Sakic.Net
Re: Can't add or edit albums
« Reply #9 on: 02 March 2009, 22:31 »
I don't know what you mean by "loose permissions".

tflores21

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Can't add or edit albums
« Reply #10 on: 14 May 2009, 18:48 »
I'm having the same issue.  Changed permissions on the 2 files as indicated.  Check with my hosting company and their reply on the "bad request" message:

"This error is not caused due to any permission issue. This is some thing related with your script. Please check it. Please understand that if it was a permission error it will not show as "Bad Request". Also please note that, we don't have script support."

My link is
http://www.teamflores.com/joomcf/administrator/components/com_apa/admin.scriptload.php

This is a demo version.  I'll purchase if I can get this to work!

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,495
    • View Profile
    • Sakic.Net
Re: Can't add or edit albums
« Reply #11 on: 14 May 2009, 21:18 »
Everything is fine with that file. It's never called without arguments, that's why it gives you "Bad Request". When it's called with right query string it's all fine, the javascript is loaded:
Code: [Select]
http://www.teamflores.com/joomcf/administrator/components/com_apa/admin.scriptload.php?file[0]=extjs/adapter/ext/ext-base.js&file[1]=extjs/ext-all.js&file[2]=extjs/ux/UploadDialog/Ext.ux.UploadDialog.js&file[3]=js/admin.apa.ext.js&gzip=1
« Last Edit: 14 May 2009, 21:19 by Saka »

tflores21

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Can't add or edit albums
« Reply #12 on: 15 May 2009, 01:26 »
Thanks for the clarification on the script.  I'm not sure what else to do - when I try to add an album I get the error

"Could not create the directory.
Note that the relevant permissions on the parent directory must permit this."

I have changed all files and folders to "755".
« Last Edit: 15 May 2009, 02:36 by tflores21 »

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,495
    • View Profile
    • Sakic.Net
Re: Can't add or edit albums
« Reply #13 on: 15 May 2009, 04:37 »
The root directory that holds the album and defined in configuration has to be 777! It's clearly stated in documentation.