Page 1 of 1

ListIt2 bad return URL [SOLVED]

Posted: Mon Oct 07, 2013 4:40 am
by rotezecke
I installed a fresh CMSMS 1.11.9 with latest ListIt2.
I created an instance and a few test items, and placed the tag on home page, as that's all there is at this point. i didnt touch the ListIt2 templates.
I get to detailed view OK, but the return link (both {$return_href} and {$return_link}) does not work.

this is the URL it tries to go to:
"http://rest.wallaby.nimfm.org/mario_san ... ion=detail"

and this is the error message:
"The requested URL /mario_santini/index.php was not found on this server."

the root of the CMS is httpdocs. the rest of CMSMS (not much there yet) seems to be fine.
there's not much these days in the config.php file, so I added

Code: Select all

$config['root_url'] = 'http://rest.wallaby.nimfm.org/mario_santini/httpdocs';
just to be sure (no difference).

this is the first time I play with ListIt2 so it's probably something stupid. however, this is pretty much straight out of the box. any ideas?

Edit: When I change the first & to ? of the return URL things work fine. looks like the query string is not required here.


----------------------------------------------

Cms Version: 1.11.9

Installed Modules:

CMSMailer: 5.2.2
CMSPrinting: 1.0.5
FileManager: 1.4.3
MenuManager: 1.8.6
ModuleManager: 1.5.5
News: 2.13
Search: 1.7.11
CGExtensions: 1.37.2
CGSimpleSmarty: 1.7
CGSmartImage: 1.12.1
Captcha: 0.4.6
GBFilePicker: 1.3.3
TinyMCE: 2.9.12
FrontEndUsers: 1.21.18
ListIt2: 1.4
CGEcommerceBase: 1.4.3
CGPaymentGatewayBase: 1.2.2
Orders: 1.15.2
SelfRegistration: 1.8.1
JQueryTools: 1.2.5
Products: 2.19.7
Promotions: 1.1.10
Cart2: 1.0.7
ListIt2News: 1.4
ListIt2XDefs: 1.2


Config Information:

php_memory_limit:
process_whole_template:
max_upload_size: 2000000
url_rewriting: none
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true


Php Information:

phpversion: 5.4.4-14+deb7u4
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 128M
max_execution_time: 30
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 2M
session_save_path: /var/lib/php5 (1733)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)


Server Information:

Server Api: apache2handler
Server Db Type: MySQL (mysql)
Server Db Version: 5.5.31
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Server Time Diff: No filesystem time difference found


----------------------------------------------

Re: ListIt2 bad return URL

Posted: Mon Oct 07, 2013 7:25 am
by Rolf
Strange root url...
The root url setting is the url the visitor types and sees in the browser

Re: ListIt2 bad return URL

Posted: Mon Oct 07, 2013 8:11 am
by uniqu3
There is a bug with return url in 1.4, will be fixed with next release.

Re: ListIt2 bad return URL

Posted: Mon Oct 07, 2013 8:17 am
by rotezecke
it's my test machine with a dozen or so websites. i didnt bother to configure virtual hosts; till now, there has not been a need.
the return URL looks wrong, even if I had a clean url like "www.domain.com", the first & doesnt go there.
Try this:
google.com/& -> error
google.com/? -> OK

edit: just saw uniqu3's post. thanks.

Re: ListIt2 bad return URL [SOLVED]

Posted: Mon Oct 07, 2013 10:53 am
by Stikki
Already fixed in GIT.

Please open Bug Reports instead of forum posts, if possible

Thank you

Stikki